[GHC] #8731: long compilation time for module with large data type and partial record selectors

GHC ghc-devs at haskell.org
Tue Feb 4 18:56:36 UTC 2014


#8731: long compilation time for module with large data type and partial record
selectors
-------------------------------------------------+-------------------------
        Reporter:  carter                        |            Owner:
            Type:  bug                           |           Status:  new
        Priority:  normal                        |        Milestone:
       Component:  Compiler                      |          Version:
      Resolution:                                |  7.8.1-rc1
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  Compile-time performance bug  |     Architecture:
       Test Case:                                |  Unknown/Multiple
        Blocking:                                |       Difficulty:
                                                 |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------

Comment (by carter):

 rwbarton (on irc) noted this single module also has a nearly 1mb object
 file! Also apparently most of the code generated / time might be related
 to the Read and Show instances. (i've not check the latter myself, but
 sounds plausible)

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


More information about the ghc-tickets mailing list