Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e7dd667b259952327031304e08a646a6c72bbccc
Ticket: 1025834fffffffffffffffffffffffffffffffff
unnecessary string copy in INST_CONCAT1
User & Date: msofer on 2004-10-31 03:46:47
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    
    This *has* been backported - lines 1266/78 in tclExecute.c
    (albeit in a simplified version wrt to HEAD; this only fixes
    enough to enbable the $x[set x{}] trick).
    
    As that particular idiom is horribly expensive without this
    patch, the backporting may however be questionable: scripts
    optimised for 8.4.8 will be very bad in 8.4.x. See timings
    at
    http://groups.google.com.ar/groups?q=comp.lang.tcl+%22%24x%5Bset+x+%7B%7D%5D%22+msofer&hl=es&lr=&selm=2qdvlnFualfaU1%40uni-berlin.de&rnum=1
    
    Maybe requires reverting the backport?
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"