[Haskell-cafe] Sub-optimal

Andrew Coppin andrewcoppin at btinternet.com
Sat Feb 12 11:30:26 CET 2011


I have a small program that fills a file with random numbers. If I 
compile it without optimisation, it runs in constant space. And yet, if 
I supply -O2 (or even just -O1), for large output files the program 
gobbles large amounts of RAM.

Is this a known bug? (GHC 6.10.x)



More information about the Haskell-Cafe mailing list