Skip to content

Commit 7bbb42f

Browse files
authored
Add support for sizes arrays (#64)
This PR adds the ability in the C++ library to read "sizes" arrays instead of the "size N index" arrays. (The latter was missing the final element which had to be fixed up later in the code.) * New function `sizes_to_indices` that converts a vector of sizes to a vector of indices * Removed fixup code from `qv` ivf queries * Updates to setup.bash to use sizes arrays rather than index arrays * Renamed the CLI programs `ivf_hack` to `ivf_flat` and `flat` to `flat_l2`
1 parent 9b498c5 commit 7bbb42f

File tree

17 files changed

+417
-363
lines changed

17 files changed

+417
-363
lines changed

src/.idea/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/.idea/ChatGPTCopilotChannelManager.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/.idea/experimental.iml

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/.idea/misc.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/.idea/vcs.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)