3 ms·
Deserved or not, Mersenne Twister is somewhat famous among laymen like myself for being very fast relative to it's reasonably high quality. If you can point me
by corysama 15y ago
Deserved or not, Mersenne Twister is somewhat famous among laymen like myself for being very fast relative to it's reasonably high quality. If you can point me at an RNG that is both faster and higher quality, I will be genuinely in your debt.
- msbarnett 15y agoMy layman's understanding is that George Marsaglia's xorshift generator[1] is considerably faster than the Mersenne Twister while still providing high quality randomness. I've also seen WELL512[2] mentioned in a few places, but I don't know much more about it than the name. [1]: First introduced here: http://groups.google.com/group/comp.lang.c/msg/e3c4ea1169e463ae http://groups.google.com/group/comp.lang.c/msg/e3c4ea1169e46... [2]: http://www.iro.umontreal.ca/~panneton/WELLRNG.html http://www.iro.umontreal.ca/~panneton/WELLRNG.html
- corysama 15y agoLet me know if you are ever in San Francisco and I'll open the tab at one of our many fine beer-snob bars (or a wine-snob bar, if you prefer). This thread & invite is still open to anyone who can provide further suggestions!