#3627: Profiling loses eta-expansion opportunities unnecessarily
---------------------------------------+------------------------------------
  Reporter:  simonpj                   |          Owner:                  
      Type:  run-time performance bug  |         Status:  new             
  Priority:  low                       |      Milestone:  _|_             
 Component:  Compiler                  |        Version:  6.10.4          
  Severity:  normal                    |       Keywords:                  
Difficulty:  Unknown                   |       Testcase:                  
        Os:  Unknown/Multiple          |   Architecture:  Unknown/Multiple
---------------------------------------+------------------------------------
 If I have
 {{{
 f = scc "f"
     let x = scc "g" y in
     \z -> ...
 }}}
 then we don't see that f has arity 1.  Because `SimplUtils.mkLam` only
 does eta expansion if there is at least one value lambda.

 I'm making a ticket for this so that we don't forget it, but it's not very
 high priority.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3627>
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