Re: [Ohrrpgce] SVN: james/5215 Use an incredibly simple and crude alternate random number generator jus

2012-06-10 Thread Ralph Versteegen
On 9 June 2012 18:01, Seth Hetu seth.h...@gmail.com wrote: I'm not sure if this is relevant, but multiply-with-carry is pretty fast for uniform distributions (without sacrificing too much quality) http://en.wikipedia.org/wiki/Multiply-with-carry I'm curious, though; why not just generate and

Re: [Ohrrpgce] SVN: james/5215 Use an incredibly simple and crude alternate random number generator jus

2012-06-10 Thread Seth Hetu
Ah, ok, now I understand. So it just needs to be random-ish enough to not be noticeable, with speed being overwhelmingly important. In that case it's hard to beat LCG. Thanks for the explanation. --Seth On Sun, Jun 10, 2012 at 4:25 PM, Ralph Versteegen teeem...@gmail.com wrote: On 9 June 2012