[GHC] #5068: Possible loss of sharing: big performance change

GHC cvs-ghc at haskell.org
Fri Apr 1 13:11:14 CEST 2011


#5068: Possible loss of sharing: big performance change
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  bug               |       Status:  new         
    Priority:  normal            |    Milestone:              
   Component:  Compiler          |      Version:  7.0.3       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:              
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by simonmar):

 If you say `INLINE` on a redex, GHC will happily do as you ask, won't it?
 I took a quick look at the diff that Bryan pointed to, and it looks like
 the problem is `ratios` being inlined in `loop`, which is a monadic
 computation and therefore probably a lambda.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5068#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list