What it does
- L2, inner product, cosine, Hamming and Jaccard
- Lock-free reads, zero allocations during search
- In-graph filtered search, radius search
- Removal, <code>Compact</code> and update
- int8 quantization and binary prefilter
- Mapped file, byte-identical on Linux and Windows
Measured
- Single thread, vs. hnswlib 0.8. SIFT1M: recall@10 of 0.9633 vs. 0.9634, same throughput within noise, build in 478 s vs. 525 s
- Synthetic 1M x 768: 5,476 queries/s at 0.95 recall vs. 5,029 for hnswlib. 3.2 GB mapped in 27 ms with the file in the OS cache, about 125 ms cold
- Target of 10,000 queries/s at 95% recall on 1M x 768 not met
Known limits
- No product quantization or IVF. No C layer
This module has no guide yet: start with the summary above and the reference in the tabs.