MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.97k stars 523 forks source link

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

Open mrmr1993 opened 3 days ago

mrmr1993 commented 3 days ago

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

mrmr1993 commented 3 days ago

!ci-build-me

mrmr1993 commented 3 days ago

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

mrmr1993 commented 3 days ago

!ci-nightly-me