zerokit
zerokit copied to clipboard
Enable parallel execution in rln-wasm
- [ ] Closes #55
Is this PR still draft or is it ready for review?
rln-wasm tests are failing, so I guess is still in draft? Furthermore, I believe these changes has to be fully tested with all submodules that use the "parallel" feature (rln, so groth16, arkworks, etc.) and the output WASM should be tested with js-rln too to see if it is working as expected @richard-ramos It is unclear to me which browsers currently support rayon, so this is something we should take into account too (e.g. when distributing or setting defaults for rln-wasm).
Still a draft, it compiles but tests get deadlocked for some reason, I think because the pool doesn't get initialized on the client side. Will figure this out today