Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4021517562b2a661df4b2d7d8665b1142d4f7063
Ticket: 635200ffffffffffffffffffffffffffffffffff
string obj unicode efficiency
User & Date: vincentdarley on 2002-11-11 20:04:00
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Also, if one replaces the last two calls with:
    
    Tcl_SetObjLength(objPtr, 0);
    Tcl_GetStringFromObj(objPtr, NULL);
    Tcl_AppendToObj(objPtr, "foobar\n", 7);
    Tcl_AppendToObj(objPtr, "foobar\n", 7);
    Tcl_AppendToObj(objPtr, "foobar\n", 7);
    Tcl_AppendToObj(objPtr, "foobar\n", 7);
    Tcl_AppendToObj(objPtr, "foobar\n", 7);
    
    then Tcl tramples all over memory.
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"