Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d88fccf11fec62d9d93051a36f5fd1fd2dd58fed
Ticket: 1056134fffffffffffffffffffffffffffffffff
Variable traces need updating
User & Date: msofer on 2004-10-28 14:21:17
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The code for variable traces has not been updated to
    reuse the already determined varPtr. Tcl_VarTraceProc
    has a string interface, so that it has to look up the
    variable by name if it uses it at all.
    
    This is extremely inefficient, and is a handicap for
    code that relies extensively on variable traces - like Tk.
    
    We should define a Tcl_VarTraceObjProc interface that
    receives the variable name as a Tcl_Obj, thus avoiding
    parsing and lookup if it is in one of the resolved
    varName objext types.
    
    Note that this would require a TIP.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "8"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "07. Variables"
  10. title changed to: "Variable traces need updating"
  11. type changed to: "Bug"