zkBob / fawkes-crypto

Fawkes-Crypto - zkSNARKs framework
https://github.com/zeropoolnetwork/fawkes-crypto
Apache License 2.0
2 stars 1 forks source link

Add prealloc buffer #3

Closed AllFi closed 1 year ago

AllFi commented 1 year ago

Allocations during poseidon hash computation lead to extremely slow performance on Mac M1. This PR tries to fix it by introducing preallocated buffer. image