Hi,

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.

Best,
Maurício

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to