[Haskell-cafe] Generate random UArray in constant memory space.
bos at serpentine.com
Tue Feb 9 13:27:58 EST 2010
On Tue, Feb 9, 2010 at 4:18 AM, Vasyl Pasternak
<vasyl.pasternak at gmail.com>wrote:
> I tried to generate memory-efficient list of random numbers, so I've
> used uvector library for this task.
Use the mwc-random package. It provides a function that does exactly this,
and produces better quality random numbers with much higher performance
(1000x faster) than System.Random or even mersenne-random.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe