C++17 + PythonMLI
annlite
HNSW with SIMD kernels, Python bindings, and FAISS comparison.
51 tests; at 98.5% recall it performs 26x fewer distance computations than exact scan.

Evidence chain
The claim, with its attack surface exposed.
Recruiters can scan the result. Engineers can inspect how it was produced and where it stops being valid.
- Problem
Approximate retrieval claims are meaningless without the full recall-versus-latency curve.
- Mechanism
Layered HNSW graph, diversity-aware neighbor selection, SIMD distance kernels, and GIL-free search.
- Attack
Exact ground truth, recall-matched FAISS comparison, and thread-count invariance.
- Boundary
FAISS remains 10-20% faster in the low-recall regime; the crossover appears only at high recall.
Reproduce it
One command to the test boundary.
The repository contains the implementation, tests, benchmark harness, and documented limitations behind this page.
git clone https://github.com/asp53826/annlite && cd annlite && pip install -r requirements-dev.txt && make test