nmslib / hnswlib

Header-only C++/python library for fast approximate nearest neighbors
https://github.com/nmslib/hnswlib
Apache License 2.0
4.31k stars 633 forks source link

Add code comments that python filter works slow in multi-threaded mode #433

Closed dyashuni closed 1 year ago

dyashuni commented 1 year ago

Add warning that python filter works slow in multi-threaded mode

Edit:

yurymalkov commented 1 year ago

I can imagine a scenario where a user is overwhelmed with those warning messages. I guess we can put a condition that we show it only once index and/or we can add log levels, though that would require some designing.