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

GHC ghc-devs at haskell.org
Tue Jan 28 18:08:19 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 Joachim Breitner <mail@…>):

 In [changeset:"4a8ffcf55c897851b534c700951a0b5bdd43eb97/base"]:
 {{{
 #!CommitTicketReference repository="base"
 revision="4a8ffcf55c897851b534c700951a0b5bdd43eb97"
 go-ify foldr2

 This helps with the changes in #7994, but might also generally be a good
 idea (ignore the runtime):

 --------------------------------------------------------------------------------
         Program           Size    Allocs   Runtime   Elapsed  TotalMem
            fft2          -0.1%     -1.5%      0.07      0.07     +0.0%
        fibheaps          +0.0%    -17.2%      0.03      0.03     +0.0%
           fluid          +0.5%     -0.7%      0.01      0.01     +0.0%
       integrate          +0.0%     -0.9%      0.16      0.16     +0.0%
         rewrite          +0.0%     -1.1%      0.02      0.02     +0.0%
 --------------------------------------------------------------------------------
             Min          -0.1%    -17.2%     -1.6%     +0.0%     +0.0%
             Max          +0.5%     +0.0%   +107.7%   +106.2%    +11.3%
  Geometric Mean          +0.0%     -0.2%    +23.7%    +23.9%     +0.1%
 }}}

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


More information about the ghc-tickets mailing list