[GHC] #11597: Optimize cmpTypeX

GHC ghc-devs at haskell.org
Thu Feb 18 04:09:42 UTC 2016


#11597: Optimize cmpTypeX
-------------------------------------+-------------------------------------
           Reporter:  goldfire       |             Owner:  goldfire
               Type:  task           |            Status:  new
           Priority:  highest        |         Milestone:  8.0.1
          Component:  Compiler       |           Version:  7.10.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Simon and I observed that we could skip the kind-check in `cmpTypeX` if
 the type has no casts, which is the vastly common case. I will collect
 this information while checking the type and omit the kind check if
 possible.

 Putting on "highest" priority basically because this is so easy to do.

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


More information about the ghc-tickets mailing list