feat: introduce trait-based distance aggregation and layered store

Introduces ColumnWeights, CountPartials, and BitPartials traits to compute and finalize partial distance matrices. Implements these traits for PersistentBitMatrix, PersistentCompactIntMatrix, and a new LayeredStore<S> wrapper that aggregates metrics across layers via parallel reduction. Adds ndarray for numerical aggregation and updates architecture documentation to reflect the trait-driven design and pending refactoring roadmap.
This commit is contained in:
Eric Coissac
2026-05-15 21:18:16 +08:00
parent 45d49ed501
commit 13e69e23c9
11 changed files with 721 additions and 355 deletions
+1
View File
@@ -11,6 +11,7 @@ ptr_hash = "1.1"
cacheline-ef = "1.1"
epserde = "0.8"
rayon = "1"
ndarray = "0.16"
memmap2 = "0.9"
serde = { version = "1", features = ["derive"] }
serde_json = "1"