[GHC] #10788: performance regression involving minimum

GHC ghc-devs at haskell.org
Sun Aug 23 20:23:05 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 nomeata):

 So one solution would be to mark `strictMinimum` as `INLINE`, so that its
 unfolding stays small and both `strictMinimum` and `foldl` will be inlined
 at the use site?

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


More information about the ghc-tickets mailing list