Suggestion for 2.4+: Mersenne Twister

new topic     » topic index » view thread      » older message » newer message

Hi all,

Here's an idea I want to toss out, to
Rob for future versions of Euphoria:

While Eu's pseudorandom algorithm is
adequate for most purposes, I've found
a good deal of "pattern" in the results
when used "en masse".

I would suggest that Rob switch to
using the Mersenne Twister; it has
numerous advantages over most other
algorithms. I would make use of it in
IGT myself, with the Euphoria translation
of MT, but an interpreted algorithm
appears to be too slow.

Downside: it could break code. But then
hopefully any software that *depends*
on rand() for consistency would have
taken into account the idea that the
random-number generator could change.

Rod Jackson

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu