Fixed performance dent for random generating Ints. I can't explain why it was slower...
authorRyan Newton <rrnewton@gmail.com>
Sun, 26 Jun 2011 04:24:46 +0000 (00:24 -0400)
committerRyan Newton <rrnewton@gmail.com>
Sun, 26 Jun 2011 04:24:46 +0000 (00:24 -0400)
commit13c12c3bd2ccf5b079c90e148a6d1e896c0c60ed
treefbe1917e2381df351d9b2281fbc6712cce28d003
parent27150e4d63dde0384d168db9e5ac5944e658c5f0
Fixed performance dent for random generating Ints.  I can't explain why it was slower than other types using randomBounded, but this patch circumvents the problem by using next directly.
Benchmark/SimpleRNGBench.hs
System/Random.hs