Commit graph

796 commits

Author SHA1 Message Date
d70e7088e2 SubtreeLeaf::from_smt_leaf() was only used in tests 2024-11-13 12:29:10 -07:00
00f9d13d17 smt: add build_subtrees() to coordinate subtree building 2024-11-13 12:29:10 -07:00
ef3490d975 working test_singlethreaded_subtrees() 2024-11-13 12:29:10 -07:00
2799b4436c cleanup test_singlethreaded_subtrees a bit 2024-11-13 12:29:10 -07:00
518703371f add a parallel construction benchmark to src/main.rs 2024-11-13 12:29:10 -07:00
885facd47f refactor sorted_pairs_to_leaves() to also group subtrees 2024-11-13 12:29:10 -07:00
b2a2bdb8f3 rename PrecomputedSubtrees -> PairComputations 2024-11-13 12:29:10 -07:00
396ae21dc7 improve docs for build_subtree() 2024-11-13 12:29:10 -07:00
9f57225f28 add test_two_subtrees() test 2024-11-13 12:29:10 -07:00
e7e6733a65 smt: add from_raw_parts() to trait interface 2024-11-13 12:29:10 -07:00
be1ec6a90f merkle: add a benchmark for constructing 256-leaf balanced trees 2024-11-13 12:29:10 -07:00
8261fad74d implement test_multithreaded_subtree 2024-11-13 12:29:10 -07:00
063208f61c refactor test_build_subtree_from_leaves() 2024-11-13 12:29:10 -07:00
9e3cded571 convert test_singlethreaded_subtree to use an iterator adapter instead of state mutation 2024-11-13 12:29:10 -07:00
0089409d2c add sorted_pairs_to_leaves() and test for it 2024-11-13 12:29:10 -07:00
9619bd4b3d smt: add pairs_to_leaf() to trait 2024-11-13 12:29:10 -07:00
f5695bc2d5 move test_build_subtree_from_leaves() closer to where it goes 2024-11-13 12:28:00 -07:00
7163209d52 add a parallel subtree criterion benchmark 2024-11-13 12:25:57 -07:00
e731897bcd smt: add build_subtrees() to coordinate subtree building 2024-11-13 12:25:57 -07:00
124d14e132 add a parallel construction benchmark to src/main.rs 2024-11-13 12:25:57 -07:00
cdad9b57db improve docs for build_subtree() 2024-11-13 12:25:57 -07:00
0e9787c268 smt: add from_raw_parts() to trait interface 2024-11-13 12:25:57 -07:00
acef91ef32 implement test_multithreaded_subtree 2024-11-13 12:25:57 -07:00
b06334a46b convert test_singlethreaded_subtree to use an iterator adapter instead of state mutation 2024-11-13 12:25:57 -07:00
308fdf1a1c smt: make with_entries() a trait method 2024-11-13 12:25:57 -07:00
30223403cd SubtreeLeaf::from_smt_leaf() was only used in tests 2024-11-13 12:25:57 -07:00
1039bb7cf5 cleanup test_singlethreaded_subtrees a bit 2024-11-13 12:25:57 -07:00
26a5cc52ac rename PrecomputedSubtrees -> PairComputations 2024-11-13 12:25:57 -07:00
a7c49faaa6 factor out subtree-append logic 2024-11-13 12:25:57 -07:00
04ca2fd3ac make PrecomputedSubtrees more generic 2024-11-13 12:25:57 -07:00
a25982dd2b working test_singlethreaded_subtrees() 2024-11-13 12:25:57 -07:00
7ce8ef7ddb refactor sorted_pairs_to_leaves() to also group subtrees 2024-11-13 12:25:57 -07:00
ef1c7f611e add test_two_subtrees() test 2024-11-13 12:25:57 -07:00
801169b609 merkle: add a benchmark for constructing 256-leaf balanced trees 2024-11-13 12:25:57 -07:00
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