Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 865a3404a460034e35bb7cf1a6ed1aad41548ea8
Ticket: 1522510fffffffffffffffffffffffffffffffff
Tcl_ExprObj: avoid Tcl_GetStringFromObj
User & Date: dgp on 2006-07-17 21:25:54
Changes

  1. icomment:
    Logged In: YES 
    user_id=80530
    
    
    what version of Tcl sources is
    the patch for?
    
    The patch appears to be all about
    replacing one form of special-case
    optimization with some other form
    of special-case optimization.
    I don't know that that makes much
    sense without some benchmarking
    data guiding the way.
    
    The old optimizations might
    well be relics and better
    removed, but some measurements
    ought to tell us that.  Got any?
    
    That said, Tcl_GetStringFromObj()
    on a Tcl_Obj that already has
    a string rep (which an expression
    should) ought to be really cheap,
    so I'd expect the patch to make
    little difference.  What's the
    data say?
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"