[GHC] #14461: Reuse free variable lists through nested closures

GHC ghc-devs at haskell.org
Wed Nov 15 10:17:00 UTC 2017


#14461: Reuse free variable lists through nested closures
-------------------------------------+-------------------------------------
        Reporter:  tdammers          |                Owner:  alexbiehl
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  7258              |  Differential Rev(s):
       Wiki Page:  NestedClosures    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 >  I have another plan: I will introduce a new data GenStgFreeVar occ =
 StgFreeVar occ [occ] type and calculate the sharing in CoreToStg as we
 have all the relevant data available and in good shape anyway.

 I think that's a great plan: see [wiki:NestedClosures] under
 "Implementation".

 If you could describe the moving parts of your plan in the wiki page, it'd
 help us to offer you support and feedback.

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


More information about the ghc-tickets mailing list