#2439: Missed optimisation with dictionaries and loops
--------------------------------------+-------------------------------------
 Reporter:  rl                        |          Owner:         
     Type:  run-time performance bug  |         Status:  new    
 Priority:  normal                    |      Milestone:         
Component:  Compiler                  |        Version:  6.9    
 Severity:  normal                    |     Resolution:         
 Keywords:                            |     Difficulty:  Unknown
 Testcase:                            |   Architecture:  Unknown
       Os:  Unknown                   |  
--------------------------------------+-------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown

Comment:

 Interesting example.  I've thought about it a bit, and I don't see an
 obvious, general transformation that would help.  The loop ''is not''
 strict in the dictionary; it's just this particular call that is.

 A long-standing thing I've wanted to try is to make ''all'' dictionary
 arguments strict, and see where that takes us.  After all, evaluating a
 dictionary should always terminate.  I'll leave this ticket open to help
 me remember to try that.

 Simon

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