Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ab1a7fa2ee28eb316bb65605d117fa8353271742
Ticket: 3485833fffffffffffffffffffffffffffffffff
trace - inexplicable large overhead by ensemble commands
User & Date: dgp on 2012-02-09 23:25:03
Changes

  1. icomment:
    Ok, that's it.  This oldest style of execution tracing
    wants to have available the command it is tracing
    in string form.  Most of the time this isn't a big demand,
    because the command started in string form, and we just
    have to get to it.
    
    But for ensemble subcommand dispatch, the redirected
    subcommand execution is done by building an objv
    array and directly calling to Tcl_EvalObjv().  When the
    the string version is needed, a list is built and the string
    rep of that list is generated, costing time proportional to
    the total length of all the argument values.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"