You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 9, 2026. It is now read-only.
HNSWlib wrapper, very slow due to a simple recomputation bug #1703
The above line calculated the totat number of records in the system, before each and every batched search, this adding a 7 sec delay to the system. Instead the self.num_docs() call can be cached and updated only when add, delete or update record calls are made
To add more information, the same data points indexed through "ip" distance in was running at a speed of 3000it/s (for loop randomly generated 1 vector with k=20 lookup), but the same through this respective wrapper took around 10s/it
It's also to be noted that the recent vectordb release is also affected by this
To add more information, the same data points indexed through "ip" distance in was running at a speed of 3000it/s (for loop randomly generated 1 vector with k=20 lookup), but the same through this respective wrapper took around 10s/it
It's also to be noted that the recent vectordb release is also affected by this
I'll try to provide a reproducible code tomorrow
yes, vectordb is affectes directly by this DocArray wrapper
Activity
JoanFM commentedon Jul 17, 2023
@TheSeriousProgrammer,
Thank you very much for the issue raising and the detailed description, we will solve it ASAP.
Or would you like to open a PR to fix this issue?
TheSeriousProgrammer commentedon Jul 17, 2023
To add more information, the same data points indexed through "ip" distance in was running at a speed of 3000it/s (for loop randomly generated 1 vector with k=20 lookup), but the same through this respective wrapper took around 10s/it
It's also to be noted that the recent vectordb release is also affected by this
I'll try to provide a reproducible code tomorrow
JoanFM commentedon Jul 17, 2023
yes, vectordb is affectes directly by this DocArray wrapper