Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1dee5e9725cb572d761275f2400244c5a00ae0c2
Ticket: 3067036fffffffffffffffffffffffffffffffff
Appending to 0-length byte array causes busy loop.
User & Date: andreas_kupries on 2010-09-16 00:58:11
Changes

  1. icomment:
    Interesting. I remember seeing a different place where memory doubling was done which did things a bit differently: It doubled the length of the "requested" space, not the current one. As 'requested > allocated' this could never be 0. ... Remembering more, that was somewhere in appending to a list.
    
    I guess the "appending to string/bytearray" should be rewritten to the same scheme.
    
    
    
  2. login: "andreas_kupries"
  3. mimetype: "text/plain"
  4. username: "andreas_kupries"