Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e76915e9ee05b97059f632639a3e299b1c4df71f
Ticket: 3485833fffffffffffffffffffffffffffffffff
trace - inexplicable large overhead by ensemble commands
User & Date: sebres on 2012-02-09 17:12:43
Changes

  1. icomment:
    Yep, 
    compared to "length", by the "range" it returns in TclCompileEnsemble with TCL_ERROR after checking (... cmdPtr->compileProc == NULL), and go further to recompile in TclCompileScript.
    
    So, either EACH compiled ensemble should implements ALL compiled subcommands also, or in TclCompileEnsemble (or hereafter in TclCompileScript) should be supported a direct call "cmdPtr->objProc" of the subcommand. 
    At least by DONT_COMPILE_CMDS_INLINE or TCL_ALLOW_INLINE_COMPILATION.
    
    I will try to build it later, but each quick solution or workaround are welcome... 
    PS. cause I should as soon as possible complete my profiling :)
    
    
  2. login: "sebres"
  3. mimetype: "text/plain"
  4. username: "sebres"