[GHC] #11146: Manual eta expansion leads to orders of magnitude less allocations

GHC ghc-devs at haskell.org
Mon Nov 30 22:48:57 UTC 2015


#11146: Manual eta expansion leads to orders of magnitude less allocations
-------------------------------------+-------------------------------------
        Reporter:  niteria           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 I just tried `INLINE`ing all the functions defined in `FV` and `FV2`, it
 didn't make any difference. (maybe because GHC was already inlining?)
 (tried with -O2)

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


More information about the ghc-tickets mailing list