[Python-Dev] Time for a change of random number generator?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 10 19:08:41 EST 2016


The Mersenne Twister is no longer regarded as quite state-of-the art
because it can get into states that produce long sequences that are
not very random.

There is a variation on MT called WELL that has better properties
in this regard. Does anyone think it would be a good idea to replace
MT with WELL as Python's default rng?

https://en.wikipedia.org/wiki/Well_equidistributed_long-period_linear

-- 
Greg



More information about the Python-Dev mailing list