[Haskell-cafe] Generate random UArray in constant memory space.

Bryan O'Sullivan 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...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100209/50cc8b80/attachment.html

More information about the Haskell-Cafe mailing list