Rust library for fast approximate nearest neighbor search
Top 84.0% on sourcepulse
This Rust library provides a fast, pure-Rust implementation of the Hierarchical Navigable Small Worlds (HNSW) algorithm for approximate nearest neighbor (ANN) searching. It is designed for developers needing efficient similarity search capabilities, particularly for use cases like word vector indexing or finding closest points in large datasets.
How It Works
Instant Distance leverages the HNSW graph-based indexing structure, which allows for efficient querying by navigating through layers of interconnected nodes. This approach offers a good trade-off between search speed and accuracy for ANN problems, outperforming brute-force methods on large datasets. The implementation is written entirely in Rust, aiming for performance and memory safety.
Quick Start & Requirements
cargo add instant-distance
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The absence of a declared license is a significant blocker for adoption, especially for commercial or closed-source projects. Further investigation into the licensing status is required.
3 weeks ago
1 day