[GHC] #7994: Make foldl into a good consumer

GHC ghc-devs at haskell.org
Thu Jan 30 12:18:32 UTC 2014


#7994: Make foldl into a good consumer
-------------------------------------+------------------------------------
        Reporter:  simonpj           |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by nomeata):

 Despite my initial worries, this analysis is actually quite cheap: A 1.8%
 increase in compile time (with unchanged libraries), according to nofib
 (is that the best way to measure it)?

 Is it worth improving that at the expense of more code in GHC? E.g replace
 the simplifier pass after CallArity by custom one that just does eta-
 expansion, and only gently simplifies the expression therein? Or should I
 just leave it like this?

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


More information about the ghc-tickets mailing list