[GHC] #11318: Data.Text.length allocates one closure per character

GHC ghc-devs at haskell.org
Wed Dec 30 16:53:10 UTC 2015


#11318: Data.Text.length allocates one closure per character
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.3
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11284            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 The premise of this ticket is totally wrong: we aren't allocating one
 closure per character, we are allocating one closure per call. This is
 totally reasonable. Apologies for the noise.

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


More information about the ghc-tickets mailing list