feat: dynamically compute seed expansion based on RSS

Introduce a `peak_rss_bytes()` utility for accurate per-phase RAM measurement. Replace the genome-length heuristic with a dynamic seed expansion ratio based on actual RSS delta. Explicitly drop the `GraphDeBruijn` instance before MPHF construction to prevent resource contention and ensure proper memory management.
This commit is contained in:
Eric Coissac committed 2026-06-12 16:39:38 +02:00
1 parent db9c604199
commit 2bc189e962
4 files changed
+19 -6

No files matched your search

+1
View File
@@ -104,3 +104,4 @@ fn layer_dir(root: &Path, i: usize) -> PathBuf {
#[cfg(test)]
#[path = "tests/map.rs"]
mod tests;