OpenMined / sycret

Function Secret Sharing library for Python and Rust with hardware acceleration
https://openmined.github.io/sycret/
Apache License 2.0
54 stars 9 forks source link

Improve the Rayon pool initialization #37

Open tholop opened 3 years ago

tholop commented 3 years ago

When a thread pool is already initialized, Rayon uses it even if the user specified a different number of threads.

To fix it, we can implement the change discussed here: https://github.com/OpenMined/sycret/pull/32#issuecomment-916198864.