mina icon indicating copy to clipboard operation
mina copied to clipboard

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

Open mrmr1993 opened this issue 1 year ago • 4 comments

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 avatar Jul 02 '24 01:07 mrmr1993

!ci-build-me

mrmr1993 avatar Jul 02 '24 01:07 mrmr1993

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

mrmr1993 avatar Jul 02 '24 02:07 mrmr1993

!ci-nightly-me

mrmr1993 avatar Jul 02 '24 02:07 mrmr1993

It seems to be faster using cargo bench, see https://github.com/o1-labs/proof-systems/pull/2399 and https://github.com/o1-labs/proof-systems/pull/2400.

dannywillems avatar Jul 09 '24 14:07 dannywillems