Conversation
| METRIC_L1, ///< L1 (aka cityblock) | ||
| METRIC_Linf, ///< infinity distance | ||
| METRIC_Lp, ///< L_p distance, p is given by a faiss::Index | ||
| METRIC_L1 = 2, ///< L1 (aka cityblock) |
There was a problem hiding this comment.
the docs weren't smart enough to get the incremental values.
|
Thanks for your new PR, Noticed that Also, I noticed that the underlying implementation of the |
Dispose is used to free all memory associated with an index. If you're OK with a segfault if calling a method on a released index, then I'm fine reverting the checks from every method.
|
|
@asilvas In the world of javascript, memory is rarely dealt with, the |
I'd prefer to keep both as there is no other way to free all memory, and have need for recreating a lot of indexes. |
No description provided.