[GHC] #5205: Control.Monad.forever leaks space
GHC
cvs-ghc at haskell.org
Thu Aug 16 15:37:32 CEST 2012
#5205: Control.Monad.forever leaks space
--------------------------------------+-------------------------------------
Reporter: akio | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 7.2.1
Component: libraries/base | Version: 7.0.3
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Runtime performance bug | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
Changes (by simonpj):
* owner: => igloo
* difficulty: => Unknown
Comment:
Actually that makes a lot of sense. Ian or Paolo, would you like to
change the definition of 'forever' as edsko suggests, and check it's ok
with your performance test.
Ian: you say that you added a test, but you didn't say what the test is on
this ticket, so maybe you can do that too?
(Thinking about it, I'm really not sure what difference it makes to make
the current recursive defn of `forever` INLINABLE. The comment doesn't
explain! But if we change the definition it becomes moot anyway.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5205#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list