[Haskell-cafe] Unnecessarily strict implementations

Daniel Fischer daniel.is.fischer at web.de
Sun Sep 5 11:06:21 EDT 2010

On Saturday 04 September 2010 00:21:39, Jan Christiansen wrote:
> On 03.09.2010, at 14:38, Daniel Fischer wrote:
> > I can't reproduce that. For me, it leaks also with profiling.
> Have you used optimizations?

Of course. Always do :)

> It disappears if I compile the program with -O2.

Yeah, without optimisations and with profiling, it runs in small memory.
Without optimisations, it also uses less than half the memory it uses with 
optimisations when compiled without profiling (it does still leak, just 
less badly).

More information about the Haskell-Cafe mailing list