[GHC] #10788: performance regression involving minimum

GHC ghc-devs at haskell.org
Mon Sep 7 08:22:50 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 simonpj):

 > This is all so brittle...

 I agree that brittle-ness is bad.  Can you stand back and give a
 description of the brittle-ness?

  * Of course, if a function is inlined, it can be specialised for the call
 site, and without pragmas that decision is indeed dependent on how big the
 function is. I see no way to avoid that.

  * But pragmas should not be brittle.  Can you show an example in which
 they seem to be.

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


More information about the ghc-tickets mailing list