John Colvin:

There should be a note in std.random docs warning that it's slower but better than the c stdlib version.

Compiling with LDC2 I have found Xorshift about as fast as C rand :-)

So I suggested to make Xorshift the default one, but people rightly answered the standard one should be the safe (this means good) generator. On the other hand a note in the Phobos docs is a good idea.

Bye,
bearophile

Reply via email to