[Haskell-cafe] Spurious memory leak example from the wiki
Christopher Allen
cma at bitemyapp.com
Mon Jan 4 14:26:33 UTC 2016
I can't get the two examples (sum/product) in:
https://wiki.haskell.org/Memory_leak#Holding_a_reference_for_a_too_long_time
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...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160104/0dd4fa64/attachment.html>
More information about the Haskell-Cafe
mailing list