Fast Mersenne Twister

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu May 15 13:46:30 EDT 2008


This may be interesting for Python developers of the random module,
"SIMD-oriented Fast Mersenne Twister (SFMT): twice faster than
Mersenne Twister":

http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/

One function may be useful to generate integers (randint, randrange,
choice, shuffle, etc), the other for floating point values (random)
faster than the current Mersenne Twister used in the random module.

Bye,
bearophile



More information about the Python-list mailing list