[GHC] #13059: High memory usage during compilation

GHC ghc-devs at haskell.org
Mon Jan 16 20:32:15 UTC 2017


#13059: High memory usage during compilation
-------------------------------------+-------------------------------------
        Reporter:  domenkozar        |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.2-rc2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by dfeuer):

 Ryan pointed out on IRC that 54b887b5abf6ee723c6ac6aaa2d2f4c14cf74060
 doesn't just change type checking for methods with default signatures—it
 also changes how all default methods are desugared. Previously, their code
 was inlined immediately; now they desugar to references to top-level
 bindings. I know that early inlining can reduce code size in some cases;
 perhaps this is one of them?

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


More information about the ghc-tickets mailing list