
#10528: compile time performance regression with OverloadedStrings and Text -------------------------------------+------------------------------------- Reporter: jakewheat | Owner: Type: bug | Status: new Priority: high | Milestone: 7.10.3 Component: Compiler | Version: 7.10.2-rc2 Resolution: | Keywords: Operating System: Linux | Architecture: Type of failure: Compile-time | Unknown/Multiple performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj):
When rewriting in a rule (or unfolding), GHC sets the phase to the activation phase of the rule (or unfolding);" what does "the phase" refer to?
The simplifier has an ambient phase. We just set the ambient phase before rewriting in unfoldings and rewrite rules. See `Note [Simplifying inside stable unfoldings]` in `SimplUtils` -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10528#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler