#1168: nofib/spectral/calendar is mis-optimised
-------------------------------------+--------------------------------------
 Reporter:  simonmar                 |          Owner:         
     Type:  bug                      |         Status:  new    
 Priority:  normal                   |      Milestone:  _|_    
Component:  Compiler                 |        Version:  6.6    
 Severity:  normal                   |     Resolution:         
 Keywords:                           |     Difficulty:  Unknown
 Testcase:  nofib/spectral/calendar  |   Architecture:  Unknown
       Os:  Unknown                  |  
-------------------------------------+--------------------------------------
Changes (by simonmar):

  * milestone:  6.6.2 => _|_

Comment:

 I don't think we're going to fix this any time soon.  The simplifier is
 eta-expanding `State#` lambdas on purpose, because it's often critical for
 good performance of IO code, but it does risk re-computation in some
 cases, and this is one of those cases.  Leaving the bug open because it is
 a real bug, someday we might implement something a bit more refined (e.g.
 arity analysis).

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