[Haskell-cafe] Re: space leak with 'concat' ?
bugfact at gmail.com
Wed Feb 11 11:12:38 EST 2009
Yes, I was really surprised that this was the case. I while ago I did a
little FRP experiment. I made a top level binding to a list of timer event
occurrences. The list was generated on another thread. To my surprise, I did
not have space leak, which is amazingly cool, but it felt odd :) Is it
documented when GHC will garbage collect CAFs?
> FUD! CAFs are definitely garbage collected, in fact we have a big lump of
> code generator and runtime complexity (Static Reference Tables, SRTs) to
> ensure that they do.
> However, GHCi doesn't always GC CAFs, perhaps that's what you meant.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe