Skip to content

Conversation

@GarmashAlex
Copy link

Refactor crates/provers/stark/src/prover.rs commit_composition_polynomial to construct final Merkle leaf rows in a single pass using reverse_index(2i) and reverse_index(2i+1) for each part, removing the previous transpose + bit-reverse + merge pipeline and eliminating redundant allocations and clones; this preserves the exact leaf ordering and the opening contract used by open_composition_poly and the verifier so commitments, proofs, and outputs remain unchanged while reducing memory traffic and improving performance for large LDE domains.

@GarmashAlex GarmashAlex requested a review from a team as a code owner October 19, 2025 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant