[GHC] #7977: Optimization: Shift dropped list heads by coeffecient to prevent thunk generation

GHC ghc-devs at haskell.org
Tue Jun 11 21:50:17 CEST 2013


#7977: Optimization: Shift dropped list heads by coeffecient to prevent thunk
generation
---------------------------------+------------------------------------------
    Reporter:  schyler           |       Owner:                  
        Type:  feature request   |      Status:  new             
    Priority:  normal            |   Milestone:                  
   Component:  Compiler          |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * difficulty:  => Unknown


Comment:

 I believe that you are proposing adding an optimising transformation to
 GHC, but I don't know exactly what is the general transformation you
 propose.  Certainly one might optimise some special cases, but are they
 common?  Are they easy to spot in Core?

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



More information about the ghc-tickets mailing list