Replace `ph` with `ptr_hash` and introduce `epserde` and `rayon` dependencies. Refactor MPHF construction to leverage parallel iteration, eliminating intermediate `Vec<u64>` allocations and reducing memory footprint. Add a `n_kmers` field to track and serialize total kmer counts, alongside three zero-allocation iterators for efficient chunk traversal. Include comprehensive unit tests for the new iterators and update CLAUDE.md to enforce explicit dependency validation policies.
19 lines
387 B
TOML
19 lines
387 B
TOML
[package]
|
|
name = "obilayeredmap"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
obikseq = { path = "../obikseq" }
|
|
obiskio = { path = "../obiskio" }
|
|
ptr_hash = "1.1"
|
|
epserde = "0.8"
|
|
rayon = "1"
|
|
memmap2 = "0.9"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
obikseq = { path = "../obikseq", features = ["test-utils"] }
|