[GHC] #1904: Strictness analyser should be smarter

GHC cvs-ghc at haskell.org
Sun Jan 27 02:05:06 CET 2013


#1904: Strictness analyser should be smarter
---------------------------------+------------------------------------------
    Reporter:  igloo             |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  normal            |   Milestone:  _|_             
   Component:  Compiler          |     Version:  6.8.1           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by morabbin):

 Does the second approach above amount to:

   When we first encounter a case, calculate the demand placed on vars in
 the scrutinee, when evaluating the scrutinee. Use this information when
 analyzing the branches.

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



More information about the ghc-tickets mailing list