[GHC] #10788: performance regression involving minimum

GHC ghc-devs at haskell.org
Mon Sep 7 11:20:46 UTC 2015


#10788: performance regression involving minimum
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  ekmett
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Core Libraries    |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Joachim Breitner <mail@…>):

 In [changeset:"dc671a1c06736b192e4a53f580e17356ffa7224e/ghc"
 dc671a1c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="dc671a1c06736b192e4a53f580e17356ffa7224e"
 SPECIALIZE strictMinimum for Int and Integer

 This fixes a regression reported in #10788, where due to less inlining
 compared to earlier versions, we’d get worse code. With the SPECIALIZE,
 we get the good code, and moreover, the good code is in List.hs and
 _not_ inlined to the use site, so smaller code size and less compilation
 time.
 }}}

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


More information about the ghc-tickets mailing list