#5715: Inliner fails to inline a function, causing 20x slowdown
---------------------------------+------------------------------------------
    Reporter:  bos               |       Owner:                         
        Type:  bug               |      Status:  new                    
    Priority:  normal            |   Milestone:                         
   Component:  Compiler          |     Version:  7.2.1                  
    Keywords:                    |          Os:  Unknown/Multiple       
Architecture:  Unknown/Multiple  |     Failure:  Runtime performance bug
  Difficulty:  Unknown           |    Testcase:                         
   Blockedby:                    |    Blocking:                         
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by bos):

 I'll see if I can repro this on HEAD.

 If I don't write that peculiar definitional form of `uniformR`, then
 `uniformR` (and presumably `uniformRange`) is never inlined, so the
 difference between the two instances in the report above is indeed
 significant.

 I'll see if I can find a smaller repro with HEAD.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to