fluidex / circuits

GNU Affero General Public License v3.0
10 stars 5 forks source link

design: decide/test/benchmark rescue vs poseidon #132

Open lispc opened 3 years ago

lispc commented 3 years ago

https://github.com/Fluidex/circuits/issues/41#issuecomment-804876311

Maybe we wrote something badly? Rescue is not faster inside circuit.

On the other hand, I remember poseidon is faster when doing offline cpu computing...

Rescue needs pow5/invpow5 on field, which is slower than simple multiply on field