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
@yurymalkov Awesome code, really enjoying it compared to the other similar libraries.
Just one remark I noticed here, it seems that the python bindings provided are not actually adding any vector to the index - there is no call to addPoint on the code:
Adding new items should be thread safe, i.e. can be done with python threads in parallel. I have not tested it yet, but if there is a problem - it is in python bindings part (C++ code is well tested).
However, adding and searching simultaneously should not be thread safe now. This was done intentionally to reduce the locks (which might slow down the search), assuming that user does not run insertions during the search.
I am considering adding a separate fully thread safe search method. Please let me know if it is interesting.
"I am considering adding a separate fully thread safe search method. Please let me know if it is interesting." Is there any update on this one? It would be a very useful feature if add and search could be fully threadsafe with each other.
@yurymalkov Awesome code, really enjoying it compared to the other similar libraries.
Just one remark I noticed here, it seems that the python bindings provided are not actually adding any vector to the index - there is no call to addPoint on the code:
Also, one question. Is the library supposed to be thread safe for adding new items? Or just for performing search?
The text was updated successfully, but these errors were encountered: