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
2026-06-12 16:28:03 +02:00
parent db9c604199
commit 2bc189e962
4 changed files with 19 additions and 6 deletions
+1
View File
@@ -104,3 +104,4 @@ fn layer_dir(root: &Path, i: usize) -> PathBuf {
#[cfg(test)]
#[path = "tests/map.rs"]
mod tests;