Skip to content

large boolean[] array #4

@cmacdonald

Description

@cmacdonald

new boolean[index.getDocumentIndex().getNumberOfDocuments()]);

This worries me. Why, for every query I am scoring, must I create an array that has one entry for each of the documents in the collection. It seems just to record which docids have been used. Why not a HashSet or even better a TIntHashSet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions