Repository navigation
perf(cache): prepare pairing points in parallel - #30
Merged
Merged
Conversation
markosg04
approved these changes
Aug 20, 2026
markosg04
left a comment
Collaborator
There was a problem hiding this comment.
Looks good to me—thanks!
This was referenced Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
rayon::join; each vector usespar_iter.init_cacheAPI and first-initializer-wins semantics.PR #27 is already on
main, but it parallelizesDoryRoutinesvector operations inark_group.rs; cache preparation inark_cache.rsremains serial. This replaces closed PR #26 on top of v0.4.1.Benchmarks
Apple M4, 10 cores,
log_n = 34(131,072 G1 + 131,072 G2 generators), release build, median of 3 runs:maininit_cacheSetup generation was excluded from timing.
Verification
cargo nextest run --cargo-quiet --features backends,cache: 85/85cargo nextest run --cargo-quiet --features backends,cache,zk: 142/142cargo clippy --all-targets --features backends,cache,zk -q --message-format=short -- -D warningscargo fmt -q --message-format=short -- --checkCompanion to a16z/jolt#1737.