[GHC] #8590: Reduce code size of CAFs

GHC ghc-devs at haskell.org
Tue Dec 3 08:35:51 UTC 2013


#8590: Reduce code size of CAFs
-------------------------------------+------------------------------------
        Reporter:  parcs             |            Owner:  parcs
            Type:  feature request   |           Status:  patch
        Priority:  normal            |        Milestone:
       Component:  Compiler (NCG)    |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by simonmar):

 Yes, this is a good plan.  I think I considered it before but I was
 worried about the cost of `allocate` vs. inline allocation in the CAF
 code, but I think a 2% reduction in code size is worth far more, and CAF
 entry is a one-time cost.  So go ahead!

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


More information about the ghc-tickets mailing list