Skip to content

feat: try to optimise gamma_pow_acc in a different way#20518

Closed
iAmMichaelConnor wants to merge 1 commit intonextfrom
mc/gamma
Closed

feat: try to optimise gamma_pow_acc in a different way#20518
iAmMichaelConnor wants to merge 1 commit intonextfrom
mc/gamma

Conversation

@iAmMichaelConnor
Copy link
Contributor

@iAmMichaelConnor iAmMichaelConnor commented Feb 14, 2026

I wanted to quickly test the gate improvement of computing gamma_i with poseidon hashing instead of exponentiation.

And then I spend ABSOLUTELY AGES WITH CLAUDE TRYING TO FIGURE OUT HOW TO UPDATE THE REST OF THIS REPO

@iAmMichaelConnor
Copy link
Contributor Author

OMG IT PASSED TESTS

@iAmMichaelConnor
Copy link
Contributor Author

Not sure how to actually measure the improvement in gate count... the flamegraph tool hangs when trying to process the checkpoint root circuit

@iAmMichaelConnor
Copy link
Contributor Author

Won't merge. Not a worthwhile saving. Exponentiating gamma gives 254-bits of security, so we're fine.

image

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