[Haskell-cafe] Spurious memory leak example from the wiki
cma at bitemyapp.com
Mon Jan 4 14:26:33 UTC 2016
I can't get the two examples (sum/product) in:
to behave differently under O2 or O0.
Same profile report each time.
Have changes to prelude (FTP? Rewrite rules/build stuff for folds?) made
these do the same thing? The foldl/foldl' examples behave the same as you
might expect. (216mb vs. 1mb of heap)
--- Chris Allen
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe