Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2d46bdf369460516c373fd63d645a3d0b07e7489
Ticket: 2992970fffffffffffffffffffffffffffffffff
Slow performance of [append]
User & Date: dkf on 2010-04-29 22:11:32
Changes

  1. icomment:
    OK, problem was that the code in Tcl_AppendObjToObj did not apply any kind of growth management strategy to bytearrays, despite the fact that the internal rep contained support for such a thing. Updating the code to have such a thing makes *my* Tcl build able to tackle building a 250MB bytearray a few bytes at a time in only a few seconds (about 7.5s!)
    
    This is now quite a bit faster than 8.5 (on smaller tests; could not be bothered with larger ones. :-)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"