Parallelizing proof generation and verification reduced both proving and verification times to under a second. However, this is only for pure Rust, using Rayon. Unfortunately, wasm workers (based on the raytracing example) get extremely slow when delegating parallel tasks to them. They slow down to the point that a single thread gets the job done faster.
Therefore, this PR will be left as a draft placeholder so when multithreading in wasm works as intended, it can be merged. But until then it's just a proof of concept.
Description
Parallelizing proof generation and verification reduced both proving and verification times to under a second. However, this is only for pure Rust, using Rayon. Unfortunately, wasm workers (based on the raytracing example) get extremely slow when delegating parallel tasks to them. They slow down to the point that a single thread gets the job done faster.
Therefore, this PR will be left as a draft placeholder so when multithreading in wasm works as intended, it can be merged. But until then it's just a proof of concept.