Replacing Lua's math.random module with the Xorshift algorithm 9 hours ago (nullonerror.org) 1 comment delduca Reply Add to library kingstnap 1 hour ago Meanwhile Python uses the Mersenne Twister. Its funny because the stdlib gives it's these merits:> The Mersenne Twister is one of the most extensively tested random number generators in existence.Yes, extensively tested and known to be bad. And that is in spite of having 2500 bytes of state and being extremely slow.
kingstnap 1 hour ago Meanwhile Python uses the Mersenne Twister. Its funny because the stdlib gives it's these merits:> The Mersenne Twister is one of the most extensively tested random number generators in existence.Yes, extensively tested and known to be bad. And that is in spite of having 2500 bytes of state and being extremely slow.
Meanwhile Python uses the Mersenne Twister. Its funny because the stdlib gives it's these merits:
> The Mersenne Twister is one of the most extensively tested random number generators in existence.
Yes, extensively tested and known to be bad. And that is in spite of having 2500 bytes of state and being extremely slow.