[feature] use multiple threads to calculate chunks in parallel

This commit is contained in:
2024-09-12 20:33:52 +02:00
parent d3615307d6
commit 939e239b36
3 changed files with 84 additions and 8 deletions

20
Cargo.lock generated
View File

@ -2,6 +2,24 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "either"
version = "1.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0"
[[package]]
name = "hcn"
version = "1.0.0"
version = "1.0.0-multithread"
dependencies = [
"itertools",
]
[[package]]
name = "itertools"
version = "0.13.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
dependencies = [
"either",
]