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

Inconsistent time for a.get_nns_by_item(i,n) #665

Open
LoicDelabrouille opened this issue May 8, 2024 · 0 comments
Open

Inconsistent time for a.get_nns_by_item(i,n) #665

LoicDelabrouille opened this issue May 8, 2024 · 0 comments

Comments

@LoicDelabrouille
Copy link

When running a.get_nns_by_item(i,n) on a fixed AnnoyIndex already built, the time to find the item is sometimes about 2 times longer than usual for a fixed i . This is shown in the linked png of a histogram of the time it takes to do the computation. I would expect 1 peak, but not the secondary smaller one at about twice the time

hist of time to find example

@LoicDelabrouille LoicDelabrouille changed the title Inconsistent time for a.get_nns_by_item() Inconsistent time for a.get_nns_by_item(i,n) May 8, 2024
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

No branches or pull requests

1 participant