[GHC] #11735: Optimize coercionKind

GHC ghc-devs at haskell.org
Wed Jan 24 17:35:25 UTC 2018


#11735: Optimize coercionKind
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  task              |               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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > I'm dubious of the coercionRole refactor, as it undoes a refactoring I
 put in a few years ago, for performance reasons.

 I looked at what code would be needed for `coercionRole` and its a
 remarkably short and simple function.  Tobias, would to like to post the
 code?

 Richard, did you have a concrete reason for that refactoring?  Or just a
 general worry?

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


More information about the ghc-tickets mailing list