[Bench!][Mir] +54%..+185% performance boost for Mersenne Twister.

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Nov 26 12:13:36 PST 2016


On 11/26/16 11:31 AM, Ilya Yaroshenko wrote:
> Hey,
>
> 32-bit Mt19937 random number Generator is default in Phobos.
> It is default in Mir too, except that 64-bit targets use 64-bit Mt19937
> instead.
>
> The last Mir Random beta improves performance for Mt19937.
>
> The goal was to:

Congrats! Also thanks for using the Boost license which would allow 
backporting the improvements to Phobos. Who'd be up for it?

Also I'm thinking of removing std.random's dependency on druntime, e.g. 
by removing the uses of enforce. Thoughts?

Andrei



More information about the Digitalmars-d mailing list