[GHC] #14263: typeKind is quadratic

GHC ghc-devs at haskell.org
Tue Mar 27 08:29:22 UTC 2018


#14263: typeKind is quadratic
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  simonpj
            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:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"1fce2c3a83f0356146f24674b79b04f66c231e9d/ghc"
 1fce2c3a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1fce2c3a83f0356146f24674b79b04f66c231e9d"
 Avoid quadratic complexity in typeKind

 I took 10 minute to fix this potential performance hole
 (Trac #14263)

 There are no actual bug reports against it, so no regression
 test.
 }}}

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


More information about the ghc-tickets mailing list