Splittable random numbers

Bryan O'Sullivan bos at serpentine.com
Thu Nov 4 14:47:01 EDT 2010


On Thu, Nov 4, 2010 at 11:39 AM, Thomas DuBuisson
<thomas.dubuisson at gmail.com> wrote:
> Before we bother to do that I think it would be worth deciding what
> level of performance we are trying to achieve.  On my laptop (Core2
> 2.5Ghz) I generate 4MB of random values in less than 900ms (HashDRBG).
>  What is StdGen getting, which I know people consider slow?

I measured StdGen last year as generating around a million values per
second. My mwc-random library is about 100 times faster when running
in the ST monad.


More information about the Libraries mailing list