[GHC] #11668: SPEC has a runtime cost if constructor specialization isn't performed

GHC ghc-devs at haskell.org
Wed Mar 2 23:23:04 UTC 2016


#11668: SPEC has a runtime cost if constructor specialization isn't performed
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 See `Note [Forcing specialisation]` in `SpecConstr`.  The whole `SPEC` or
 `ForceSpecConstr` business (to force specialisation) is very
 unsatisfactory. It's just awaiting some bright person to have a better
 idea.

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


More information about the ghc-tickets mailing list