Compare commits

...

6 commits

Author SHA1 Message Date
814d7cfa2d add benchmarks for parallel construction 2024-11-14 19:44:39 -07:00
20a2350174 smt: add benchmarks for parallel construction 2024-11-14 19:44:26 -07:00
2d0bcbb5d9 add with_entries_par() commit 2024-11-14 19:02:50 -07:00
b184d301e4 smt: add parallel constructors to Smt and SimpleSmt
What the previous few commits have been leading up to: SparseMerkleTree
now has a function to construct the tree from existing data in parallel.
This is significantly faster than the singlethreaded equivalent.
Benchmarks incoming!
2024-11-14 19:01:58 -07:00
764a713b9b add from_raw_parts() commit 2024-11-14 17:58:14 -07:00
9f0245b8da smt: add from_raw_parts() to trait interface
This commit adds a new required method to the SparseMerkleTree trait,
to allow generic construction from pre-computed parts.

This will be used to add a generic version of `with_entries()` in a
later commit.
2024-11-14 17:49:52 -07:00

2
series

@ -1 +1 @@
Subproject commit 5cc527fd26d55a277b2de68d0b5d18e858428559
Subproject commit 20a23501741fca52e614c2d93f5b9a35088d46b8