Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hand-unrolled poseidon sbox for ~50% faster poseidon #15784

Draft
wants to merge 1 commit into
base: compatible
Choose a base branch
from

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Jul 2, 2024

This PR uses o1-labs/proof-systems#2394 to achieve a ~50% speed-up of poseidon hashing (on my machine).

@mrmr1993 mrmr1993 requested a review from a team as a code owner July 2, 2024 01:04
@mrmr1993
Copy link
Member Author

mrmr1993 commented Jul 2, 2024

!ci-build-me

@mrmr1993
Copy link
Member Author

mrmr1993 commented Jul 2, 2024

This seems to be slower on CI, despite being faster for me locally. Converting to draft pending more investigation.

@mrmr1993 mrmr1993 marked this pull request as draft July 2, 2024 02:43
@mrmr1993
Copy link
Member Author

mrmr1993 commented Jul 2, 2024

!ci-nightly-me

@dannywillems
Copy link
Member

It seems to be faster using cargo bench, see o1-labs/proof-systems#2399 and o1-labs/proof-systems#2400.

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.

None yet

2 participants