refactor(obilayeredmap): support generic payload types

Replace the hardcoded `Counts` module with a generic `LayerData` trait, parameterizing `Layer` and `LayeredMap` over arbitrary payload types. This decouples read-path access from build-path logic, enabling both set membership and count-based indexing via `PersistentCompactIntVec`. Adds the `obicompactvec` dependency, implements streaming layer construction, and expands test coverage for persistence and multi-layer resolution.
This commit is contained in:
Eric Coissac committed 2026-05-14 09:33:18 +08:00
1 parent 0b3fcf3cf0
commit f48f7500cd
9 files changed
+309 -245

No files matched your search

+1
View File
@@ -1752,6 +1752,7 @@ dependencies = [
"cacheline-ef",
"epserde 0.8.0",
"memmap2",
"obicompactvec",
"obikseq",
"obiskio",
"ptr_hash",