b5b8ea4d00
refactor test_build_subtree_from_leaves()
2024-11-13 12:25:57 -07:00
60e18e6f05
add sorted_pairs_to_leaves() and test for it
2024-11-13 11:05:08 -07:00
b29f61b35a
also merge 'convert (col, hash) tuples to a dedicated struct' commit
2024-11-13 11:04:40 -07:00
82984e8a3a
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 11:02:06 -07:00
39a042f4ee
add a parallel subtree criterion benchmark
2024-11-13 11:02:06 -07:00
4d31703210
smt: add build_subtrees()
to coordinate subtree building
2024-11-13 11:02:06 -07:00
275e02dcc2
add a parallel construction benchmark to src/main.rs
2024-11-13 11:02:06 -07:00
f12194e28f
improve docs for build_subtree()
2024-11-13 11:02:06 -07:00
22b5e993b2
smt: add from_raw_parts() to trait interface
2024-11-13 11:02:06 -07:00
e316bfc1e2
implement test_multithreaded_subtree
2024-11-13 11:02:06 -07:00
7af1522548
convert test_singlethreaded_subtree to use an iterator adapter instead of state mutation
2024-11-13 11:02:06 -07:00
3a2ea5d935
smt: make with_entries() a trait method
2024-11-13 11:02:06 -07:00
5e97b20ee8
SubtreeLeaf::from_smt_leaf() was only used in tests
2024-11-13 11:02:06 -07:00
c393bff47a
cleanup test_singlethreaded_subtrees a bit
2024-11-13 11:02:06 -07:00
dd12788ea9
rename PrecomputedSubtrees -> PairComputations
2024-11-13 11:02:06 -07:00
4346820b5a
factor out subtree-append logic
2024-11-13 11:02:06 -07:00
423dc6d3ee
make PrecomputedSubtrees more generic
2024-11-13 11:02:06 -07:00
cf6c17a3a8
working test_singlethreaded_subtrees()
2024-11-13 11:02:06 -07:00
36856dee1e
refactor sorted_pairs_to_leaves() to also group subtrees
2024-11-13 11:02:06 -07:00
dfbb4c7168
add test_two_subtrees() test
2024-11-13 11:02:06 -07:00
08a5294a8d
refactor test_build_subtree_from_leaves()
2024-11-13 11:02:06 -07:00
b534ab507a
add sorted_pairs_to_leaves() and test for it
2024-11-13 11:02:06 -07:00
4eff36af70
merkle: add a benchmark for constructing 256-leaf balanced trees
2024-11-13 11:02:06 -07:00
b6c5e6c05a
merge together several of the initial smt-subtree commits
2024-11-13 11:01:43 -07:00
92813bed0b
add a parallel subtree criterion benchmark
2024-11-13 10:56:40 -07:00
125ad7b01a
smt: add build_subtrees()
to coordinate subtree building
2024-11-13 10:56:40 -07:00
82381474ca
add a parallel construction benchmark to src/main.rs
2024-11-13 10:56:40 -07:00
e0b00be916
improve docs for build_subtree()
2024-11-13 10:56:40 -07:00
6f7115f6c8
smt: add from_raw_parts() to trait interface
2024-11-13 10:56:40 -07:00
c058e8acfd
implement test_multithreaded_subtree
2024-11-13 10:56:40 -07:00
ee95b29390
convert test_singlethreaded_subtree to use an iterator adapter instead of state mutation
2024-11-13 10:56:40 -07:00
8997c46bb4
smt: make with_entries() a trait method
2024-11-13 10:56:40 -07:00
3a168fcc38
SubtreeLeaf::from_smt_leaf() was only used in tests
2024-11-13 10:56:40 -07:00
8ead2c74e5
cleanup test_singlethreaded_subtrees a bit
2024-11-13 10:56:40 -07:00
e54f8cd030
rename PrecomputedSubtrees -> PairComputations
2024-11-13 10:56:40 -07:00
86f4f381ee
factor out subtree-append logic
2024-11-13 10:56:40 -07:00
8d1f7ecd6c
make PrecomputedSubtrees more generic
2024-11-13 10:56:40 -07:00
a1929c3d2f
working test_singlethreaded_subtrees()
2024-11-13 10:56:40 -07:00
5cce2f53f4
refactor sorted_pairs_to_leaves() to also group subtrees
2024-11-13 10:56:40 -07:00
3d859c2c90
add test_two_subtrees() test
2024-11-13 10:56:40 -07:00
d247db7f8e
refactor test_build_subtree_from_leaves()
2024-11-13 10:56:40 -07:00
6a2e769fbd
add sorted_pairs_to_leaves() and test for it
2024-11-13 10:56:40 -07:00
889b8094ba
merkle: add a benchmark for constructing 256-leaf balanced trees
2024-11-13 10:56:40 -07:00
8c61bb224c
make build_subtree also return the next leaf row
...
convert (col, hash) tuples to a dedicated struct
2024-11-13 10:56:40 -07:00
c147d62b11
WIP(smt): impl simple subtree8 hashing and benchmarks for it
...
bench(smt-subtree): add a benchmark for single-leaf subtrees
2024-11-13 10:54:44 -07:00
eb70bb0119
remove the cfg_attr from sorted_pairs_to_leaves
2024-11-12 15:38:49 -07:00
de380d55da
add a parallel subtree criterion benchmark
2024-11-12 15:35:39 -07:00
8a3574ca13
smt: add build_subtrees()
to coordinate subtree building
2024-11-12 15:35:39 -07:00
829d9c638b
add a parallel construction benchmark to src/main.rs
2024-11-12 15:35:39 -07:00
1941a37a9b
improve docs for build_subtree()
2024-11-12 15:35:39 -07:00