feat: Add parallel execution and thread-safe graph operations

Integrate rayon to enable parallel processing of k-mer partitions and degree computation. Replace Cell with AtomicU8 to ensure thread-safe node state management, and add a merge method for combining disjoint graphs. Additionally, introduce progress tracking utilities and a test-utils feature flag for development dependencies.
This commit is contained in:
Eric Coissac
2026-06-04 22:40:21 +02:00
parent edd5e3f8ee
commit 2f29ee2240
5 changed files with 85 additions and 39 deletions
+2
View File
@@ -884,6 +884,7 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
dependencies = [
"ahash",
"allocator-api2",
"rayon",
]
[[package]]
@@ -1488,6 +1489,7 @@ dependencies = [
"hashbrown 0.14.5",
"obifastwrite",
"obikseq",
"rayon",
"xxhash-rust",
]