Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance: avoid sorting the hashes in MatchHashesAndScoreQuery #724

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

alexklibisz
Copy link
Owner

@alexklibisz alexklibisz commented Aug 29, 2024

Related Issue

#611

Changes

Perhaps this sort was necessary at some point, but all tests pass without it. It also makes sense that it's not necessary, as all of the LSH methods prefix the hash with the L index, and they construct the hashes from 0 to L -1.

Testing and Validation

Standard CI and benchmarking.

@alexklibisz alexklibisz marked this pull request as ready for review August 29, 2024 19:33
@alexklibisz alexklibisz merged commit c22b52a into main Aug 29, 2024
5 checks passed
@alexklibisz alexklibisz deleted the no-sorting branch August 29, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant