[GHC] #12357: Increasing maximum constraint tuple size significantly blows up compiler allocations

GHC ghc-devs at haskell.org
Tue Jul 19 08:36:10 UTC 2016


#12357: Increasing maximum constraint tuple size significantly blows up compiler
allocations
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2400
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Why/how does the `TcTypeable` impl rely on them being there???   There
 jolly well ought to be a comment to say so.

 All I see is

 * `knownKeyNames` used in building `knownKeyNamesMap` in `BinIface`.
 Waste of time having tuples in there because they are treated specially by
 `BinIface`.

 * Initialising the name cache in `HscMain`.

 And that's really it.

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


More information about the ghc-tickets mailing list