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

Getters for max elements, element count and num deleted. #431

Closed kishorenc closed 1 year ago

kishorenc commented 1 year ago

These getters are useful for resizing of the index from outside when the element count reaches capacity.

dyashuni commented 1 year ago

Thank you, @kishorenc