News for hackers. Stuff that matters.
Re:Show HN: A fast HNSW implementation in Rust by jallmann on Thursday March 14, 2024 @01:54PM (#39707001)
How does this compare to hsnwlib - is it faster? https://github.com/nmslib/hnswlib
Re:Show HN: A fast HNSW implementation in Rust by Chio on Thursday March 14, 2024 @03:00PM (#39707671)
From a quick survey of the implementation probably not very well since, for example, it is using dynamic dispatching for all distance calculations and there are a lot of allocations in the hot-path.

Maybe it would be better to post this repository as a reference / teaching implementation of HNSW.

Re:Show HN: A fast HNSW implementation in Rust by esafak on Thursday March 14, 2024 @02:04PM (#39707097)
Also compare with qdrant's Rust implementation; they tout their performance. https://github.com/qdrant/qdrant/tree/master/lib/segment/src...