You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps prime generation could be faster. Could be slow because 2 unique safe primes are needed. Should do more profiling, as is much slower than standard GMPY2 prime generation calls.
Random number generation appears to be very slow. Perhaps could pre-generate lists of random numbers or parallelize randomness. Be careful with how child processes are seeded; sometimes in Python child processes use the same randomness seed as their parent.