Ask Your Question

Anschel Schaffer-Cohen's profile - activity

2018-12-24 10:02:56 -0500 received badge  Nice Question (source)
2018-01-21 18:29:44 -0500 received badge  Famous Question (source)
2017-07-14 09:41:42 -0500 received badge  Notable Question (source)
2017-07-14 09:41:42 -0500 received badge  Popular Question (source)
2014-07-12 22:57:16 -0500 received badge  Scholar (source)
2014-07-12 22:56:46 -0500 commented answer Fast (uniform) random integer generation

It doesn't actually seem to be as fast as numpy, which runs in about a 40th of the time in my benchmark.

2014-07-12 22:56:09 -0500 commented answer Fast (uniform) random integer generation

Looks like the last of these is the fastest, thanks.

2014-07-11 12:42:07 -0500 received badge  Student (source)
2014-07-11 12:34:54 -0500 asked a question Fast (uniform) random integer generation

I'm doing some largish experiments involving randomness, and I think random number generation may be the bottleneck. Is there a way to make the random number generator significantly faster without sacrificing the validity of results? I don't especially care that the RNG be cryptographically secure or anything like that.