e9177cc07e
SubtreeLeaf::from_smt_leaf() was only used in tests
2024-11-13 13:29:48 -07:00
cd313c9810
cleanup test_singlethreaded_subtrees a bit
2024-11-13 13:29:48 -07:00
123a5e4297
add SubtreeLeavesIter
2024-11-13 13:29:48 -07:00
7ff9ab9314
factor out subtree-append logic
2024-11-13 13:29:48 -07:00
bc944707dc
rename PrecomputedSubtrees -> PairComputations
2024-11-13 13:29:48 -07:00
e908f69d30
make PrecomputedSubtrees more generic
2024-11-13 13:29:48 -07:00
7ab736b8fc
working test_singlethreaded_subtrees()
2024-11-13 13:29:48 -07:00
4706c53db4
refactor sorted_pairs_to_leaves() to also group subtrees
2024-11-13 13:29:48 -07:00
2ad28cacbb
add test_two_subtrees() test
2024-11-13 13:29:48 -07:00
3675825d59
merkle: add a benchmark for constructing 256-leaf balanced trees
2024-11-13 13:29:48 -07:00
9debd6e442
refactor test_build_subtree_from_leaves()
2024-11-13 13:29:48 -07:00
e569bfa9c1
WIP(smt): impl simple subtree8 hashing and benchmarks for it
...
bench(smt-subtree): add a benchmark for single-leaf subtrees
make build_subtree also return the next leaf row
convert (col, hash) tuples to a dedicated struct
2024-11-13 13:29:48 -07:00
ecf358a19e
add sorted_pairs_to_leaves() and test for it
2024-11-13 13:29:48 -07:00
70aaee0dc2
supposedly successful
2024-11-13 13:10:27 -07:00
64e7d0bb79
add a parallel subtree criterion benchmark
2024-11-13 12:38:31 -07:00
c90d0078ff
smt: add build_subtrees()
to coordinate subtree building
2024-11-13 12:38:31 -07:00
bad50366f5
add a parallel construction benchmark to src/main.rs
2024-11-13 12:38:31 -07:00
f247978d68
improve docs for build_subtree()
2024-11-13 12:38:31 -07:00
e4206ff9ea
smt: add from_raw_parts() to trait interface
2024-11-13 12:38:31 -07:00
8bea45ad29
implement test_multithreaded_subtree
2024-11-13 12:38:31 -07:00
3e8b1f3306
convert test_singlethreaded_subtree to use SubtreeLeavesIter
2024-11-13 12:38:31 -07:00
c8be322ad6
smt: make with_entries() a trait method
2024-11-13 12:38:31 -07:00
4b63dbd7d6
SubtreeLeaf::from_smt_leaf() was only used in tests
2024-11-13 12:38:31 -07:00
dcef173f45
cleanup test_singlethreaded_subtrees a bit
2024-11-13 12:38:31 -07:00
ca1865ab23
add SubtreeLeavesIter
2024-11-13 12:38:31 -07:00
7f0fd9c345
factor out subtree-append logic
2024-11-13 12:38:31 -07:00
0b2ae99285
rename PrecomputedSubtrees -> PairComputations
2024-11-13 12:38:31 -07:00
f51694835a
make PrecomputedSubtrees more generic
2024-11-13 12:38:31 -07:00
d4e504aac8
working test_singlethreaded_subtrees()
2024-11-13 12:38:31 -07:00
2a6615bea5
refactor sorted_pairs_to_leaves() to also group subtrees
2024-11-13 12:38:31 -07:00
8a477daa92
add test_two_subtrees() test
2024-11-13 12:38:31 -07:00
50a2700ea4
merkle: add a benchmark for constructing 256-leaf balanced trees
2024-11-13 12:38:31 -07:00
3aed669b35
refactor test_build_subtree_from_leaves()
2024-11-13 12:38:31 -07:00
c8c7ea5481
smt: add pairs_to_leaf() to trait
2024-11-13 12:38:31 -07:00
95594b986d
WIP(smt): impl simple subtree8 hashing and benchmarks for it
...
bench(smt-subtree): add a benchmark for single-leaf subtrees
make build_subtree also return the next leaf row
convert (col, hash) tuples to a dedicated struct
2024-11-13 12:38:31 -07:00
7405f14ef0
add sorted_pairs_to_leaves() and test for it
2024-11-13 12:38:31 -07:00
86fad0786d
final commit before trying to remove 'refactor sorted_pairs_to_leaves() to also group subtrees
2024-11-13 12:38:27 -07:00
02ed21e242
add a parallel subtree criterion benchmark
2024-11-13 12:38:08 -07:00
3d63b382dc
smt: add build_subtrees()
to coordinate subtree building
2024-11-13 12:38:08 -07:00
6edf6f02bf
add a parallel construction benchmark to src/main.rs
2024-11-13 12:38:08 -07:00
87148785df
improve docs for build_subtree()
2024-11-13 12:38:08 -07:00
f712d06d8d
smt: add from_raw_parts() to trait interface
2024-11-13 12:38:08 -07:00
622cadedf4
implement test_multithreaded_subtree
2024-11-13 12:38:08 -07:00
0f273e84a9
convert test_singlethreaded_subtree to use SubtreeLeavesIter
2024-11-13 12:38:08 -07:00
f418c4d261
smt: make with_entries() a trait method
2024-11-13 12:38:08 -07:00
a6264bc26e
SubtreeLeaf::from_smt_leaf() was only used in tests
2024-11-13 12:38:08 -07:00
501e8cd329
cleanup test_singlethreaded_subtrees a bit
2024-11-13 12:38:08 -07:00
d9095cd5a0
add SubtreeLeavesIter
2024-11-13 12:38:08 -07:00
347e0be7c8
factor out subtree-append logic
2024-11-13 12:38:08 -07:00
a38560e11e
rename PrecomputedSubtrees -> PairComputations
2024-11-13 12:38:08 -07:00