[Haskell-cafe] Re: Problem with System.Random.randoms
briqueabraque at yahoo.com
Mon Dec 8 11:27:51 EST 2008
> I have a small problem with System.Random.randoms. I need a rather
> large number of random numbers but the following program consumes a
> huge amount of memory. I terminated it when it used up more than 2 Gb:
Interesting. Well, if you don't solve this problem,
I recently needed random numbers and it was very
clean to use State and StateT to get them updated.
Depending on your problem, this may be easier
than using a list.
More information about the Haskell-Cafe