[GHC] #13379: Space leak / quadratic behavior when inlining

GHC ghc-devs at haskell.org
Wed May 17 22:12:34 UTC 2017


#13379: Space leak / quadratic behavior when inlining
-------------------------------------+-------------------------------------
        Reporter:  jberryman         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:  Inlining
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  performance bug                    |  perf/compile/T13379
      Blocked By:                    |             Blocking:
 Related Tickets:  #13586            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by jberryman):

 My thought was that the issue (long compilation times) was not actually
 primarily due to the linear extra simplifying of each unoptimized
 callsite, but rather the bug here. At least this seems consistent with the
 test case phadej posted to me (runtime quadratic in occrrences of "char7
 <>"). I don't have any other context for the issue though.

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


More information about the ghc-tickets mailing list