You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
altor-vec uses **HNSW (Hierarchical Navigable Small World)** — the same algorithm behind Pinecone, Qdrant, and pgvector. HNSW builds a multi-layer graph where each node is a vector and edges connect nearby neighbors. Upper layers act as express lanes for coarse navigation; the bottom layer contains all vectors for fine-grained search. A query enters at the top and greedily descends to find the nearest neighbors in O(log n) time.
159
+
160
+
All vectors are L2-normalized at insert time, so dot product distance equals cosine similarity — no extra computation at search time.
161
+
152
162
## Architecture
153
163
154
164
```
@@ -175,7 +185,7 @@ cd wasm && wasm-pack build --target web --release # build WASM
175
185
176
186
## Contributing
177
187
178
-
We welcome contributions! Open an issue to discuss what you'd like to change, then submit a PR.
188
+
We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for build instructions, code style, and PR process.
0 commit comments