Name Description Size Coverage
LICENSE-MIT 1068 -
moz.yaml 1197 -
patches -
sqlite-vec-diskann.c Compute size of validity bitmap in bytes. 64430 -
sqlite-vec-ivf-kmeans.c sqlite-vec-ivf-kmeans.c — Pure k-means clustering algorithm. No SQLite dependency. Operates on float arrays in memory. #include'd into sqlite-vec.c after struct definitions. 5890 -
sqlite-vec-ivf.c sqlite-vec-ivf.c — IVF (Inverted File Index) for sqlite-vec. #include'd into sqlite-vec.c after struct definitions and before vec0_init(). Storage: fixed-size packed blob cells (capped at IVF_CELL_MAX_VECTORS). Multiple cell rows per centroid. cell_id is auto-increment rowid, centroid_id is indexed for lookup. This keeps blobs small (~200KB) and avoids expensive overflow page traversal on insert. 57936 -
sqlite-vec-rescore.c sqlite-vec-rescore.c — Rescore index logic for sqlite-vec. This file is #included into sqlite-vec.c after the vec0_vtab definition. All functions receive a vec0_vtab *p and access p->vector_columns[i].rescore. Shadow tables per rescore-enabled vector column: _rescore_chunks{NN} — quantized vectors in chunk layout (for coarse scan) _rescore_vectors{NN} — float vectors keyed by rowid (for fast rescore lookup) 23230 8 %
sqlite-vec.c 345154 32 %
sqlite-vec.h end of the 'extern "C"' block 840 -
vendor.sh 835 -
VERSION.txt 14 -