Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d2fa4dce857ec6b80ad803142d5f96ce391c3fc5
Ticket: 1246897fffffffffffffffffffffffffffffffff
Minor optimsations for Tcl_DStringAppend usage.
User & Date: dkf on 2005-07-29 15:56:11
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    The encoding subsystem relies on the fact that DStrings can
    hold NUL bytes.
    
    The DString system serves multiple purposes, some of which
    are obsolete these days. It is both a way of having safely
    managed buffers and a mechanism for doing some string
    manipulations that was heavily used back in Tcl 7.* (and
    before?) but which has been largely superceded for this
    latter purpose these days by the Tcl_Obj system.
    
    I'm fairly strongly inclined to leave things as they are
    unless the code in question is on some performance critical
    path: easier maintenance beats shaving a few nanoseconds
    from a location where it will get swamped by some syscall...
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"