guildxyz / guild-zk

8 stars 0 forks source link

I23 rayon v2 #52

Closed PopcornPaws closed 2 years ago

PopcornPaws commented 2 years ago

Description

Contributes to #23 by introducing parallelism to the exponentiation proof. Using the parallel feature, the crate uses rayon to parallelize the heavy computations required for exponentiation proofs. It only works for rust for the time being. We could use wasm-bingen-rayon to try and use parallelism in wasm as well.

Takes over #36 which can be closed in turn.

Notes

We could add parallelism to the membership proof later if required.