-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling a case to avoid bringing faiss index to memory unnecessarily (…
…#279) - In update/delete heavy scenario where we short circuit the merge path, we end up reading a faiss index to the memory unnecessarily and it can potentially stay in memory till the reconstruction of all valid vectors is complete (which is not ideal). - Also refactoring the `vecIndexes []*faiss.IndexImpl` construct to `indexes []*vecIndexInfo` just so we don't have to read info from two different slices while reconstructing vectors.
- Loading branch information
1 parent
30a47cd
commit d29eb55
Showing
1 changed file
with
41 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters