[Haskell-cafe] memory issues

Rogan Creswick creswick at gmail.com
Fri Feb 27 17:48:02 EST 2009


On Fri, Feb 27, 2009 at 2:20 PM, Don Stewart <dons at galois.com> wrote:
> creswick:
>> \begin{code}
>> -- Compiled with:
>> -- $ ghc --make offsetSorter.hs
>
> YIKES!! Use the optimizer!
>
>    ghc -O2 --make

Ah, that did drastically cut the amount of time it takes to run out of
memory (down to 1:23), but unfortunately I can't see any other
improvements -- the memory consumed seems to be about the same.
(granted, I have no indication of progress -- it may be getting
significantly more done, but it's not quite over the hump and
producing output yet.)

--Rogan


More information about the Haskell-Cafe mailing list