[GHC] #9557: Deriving instances is slow

GHC ghc-devs at haskell.org
Sun Sep 21 09:34:35 UTC 2014


#9557: Deriving instances is slow
-------------------------------------+-------------------------------------
              Reporter:  Feuerbach   |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:  duplicate   |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  #8731
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Feuerbach):

 carter: why do you think they are the same?

 There, the reason is the large number of field selectors.

 Here, I was able to check that removing some of the class derivations
 reduces the compile time significantly.

 I'm not convinced that fixing that issue will necessarily fix this one;
 they may (or may not) be inefficiencies in different parts of code.

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


More information about the ghc-tickets mailing list