[GHC] #10260: last uses too much space with optimizations disabled

GHC ghc-devs at haskell.org
Mon Apr 13 10:46:43 UTC 2015


#10260: last uses too much space with optimizations disabled
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                   Owner:  nomeata
            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:
-------------------------------------+-------------------------------------
Changes (by nomeata):

 * owner:  ekmett => nomeata


Comment:

 When `foldl` started to be a good consumer, we implemented `last` using
 `foldl`, which is cool, but not helpful without optimization.

 I’ll take care of this.

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


More information about the ghc-tickets mailing list