readFile close behaviour
Alastair David Reid
reid at cs.utah.edu
Thu Oct 11 13:20:51 EDT 2001
Simon Marlow <simonmar at microsoft.com> writes:
> The upshot is that while GHC might notice that you have dropped a
> Handle, another implementation which doesn't do black holing, stack
> stubbing, strictness analysis, GC evaluation of selector thunks or
> any of the other tricks we do to avoid space leaks might not notice.
Maybe I'm confused but I thought the original complaint was that GHC
(which plays all these tricks) was leaking objects (file descriptors)
worse than Hugs (which plays very few of these tricks).
--
Alastair Reid reid at cs.utah.edu http://www.cs.utah.edu/~reid/
More information about the Glasgow-haskell-bugs
mailing list