[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [proposal] Concerns about math.random
- From: Anders Bergh <anders1@...>
- Date: Sat, 22 Mar 2014 17:51:01 +0100
On Sat, Mar 22, 2014 at 10:04 AM, Jeremy Ong <jeremycong@gmail.com> wrote:
> My recommendation is an implementation of the mersenne twister
> (http://en.wikipedia.org/wiki/Mersenne_twister). MT is known to be
> highly performant and produce high quality random numbers. With the
> new bit shift operators this is a lot more doable. If there's
> interest, I may try to provide a reference implementation for people
> to try.
Actually, MT is known to be exactly the opposite. There are CSPRNGs
with better performance than MT[1].
[1] http://burtleburtle.net/bob/rand/isaacafa.html
--
Anders Bergh