Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Dec 17, 2025

Speed up flatten_challenge_matrix by using u128 instead of Scalar.

Switch to using independent random psi instead of powers of some base psi and implement most of the computation in flatten_challenge_matrix with u128 instead of Scalar. The change to psi is necessary to make the implementation in u128 possible. This change reduces the runtime of flatten_challenge_matrix by a factor of 3, thus speeding up the client message creation by 17%.

@copybara-service copybara-service bot changed the title No public description Switch to using independent random psi instead of powers of some base psi and implement most of the computation in flatten_challenge_matrix with u128 instead of Scalar. The change to psi is necessary to make the implementation in u128 possible. This change reduces the runtime of flatten_challenge_matrix by a factor of 3, thus speeding up the client message creation by 17%. Jan 7, 2026
@copybara-service copybara-service bot changed the title Switch to using independent random psi instead of powers of some base psi and implement most of the computation in flatten_challenge_matrix with u128 instead of Scalar. The change to psi is necessary to make the implementation in u128 possible. This change reduces the runtime of flatten_challenge_matrix by a factor of 3, thus speeding up the client message creation by 17%. Speed up flatten_challenge_matrix by using u128 instead of Scalar. Jan 8, 2026
Switch to using independent random psi instead of powers of some base psi and implement most of the computation in flatten_challenge_matrix with u128 instead of Scalar. The change to psi is necessary to make the implementation in u128 possible. This change reduces the runtime of flatten_challenge_matrix by a factor of 3, thus speeding up the client message creation by 17%.

PiperOrigin-RevId: 853718141
@copybara-service copybara-service bot merged commit e9f13a3 into main Jan 8, 2026
@copybara-service copybara-service bot deleted the test_845807650 branch January 8, 2026 14:43
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