[GHC] #9872: Runing type functions is too slow

GHC ghc-devs at haskell.org
Sat Dec 20 02:40:42 UTC 2014


#9872: Runing type functions is too slow
-------------------------------------+-------------------------------------
              Reporter:  simonpj     |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:  fixed       |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"8e2d858bb837a322f26face78df1b6ef3898e762/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="8e2d858bb837a322f26face78df1b6ef3898e762"
 Optimize flattener by trying to reduce a TF before reducing its args.

 This has a demonstrated 2x speed boost on the T9872{a,b,c} tests.
 (#9872)
 }}}

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


More information about the ghc-tickets mailing list