Skip to content
Tcl Source Code Artifact [ecf42b45c3]
Login

Artifact [ecf42b45c3]

Artifact ecf42b45c3c30ea157613ec83bac064e06b94ccc:

Ticket change [ecf42b45c3] - Ticket [3485833fffffffff|3485833fff] <i>trace - inexplicable large overhead by ensemble commands</i> status still Open with 4 other changes by dgp on 2012-02-09 22:55:35.
D 2012-02-09T22:55:35
J icomment \nFurther\sprobing\sdemonstrates\sthe\s\n{string\srange\s....}\sscript\sis\sgetting\scompiled\nonly\sone\stime.\s\sIt\scompiles\sto\sdirect\sinvocation\nof\sthe\sstring\scommand\sprocedure,\swhich\sis\nNsEnsembleImplementationCmd,\sbecause\s"string"\nis\simplemented\sas\san\sensemble.\s\sThis\spoints\sto\nperformance\sproblems\sthere.\n\nA\spossible\salternative\swould\sbe\sto\shave\sTclCompileEnsemble()\ncompile\sto\sdirect\sinvocation\sof\s::tcl::string::range\sinstead.\s\sTo\ngo\sthat\sway\swould\srequired\san\sexamination\sof\sthe\sepoch\simplications,\nsince\schanges\sin\sany\sensemble\sdispatch\smap\swould\sthen\shave\sthe\npotential\sto\sinvalidate\sbytecode.\s\s(That\smay\salready\sbe\strue).\n\nIf\swe\sgo\sthat\sway,\sthere\smay\sbe\srefactoring\sopportunities\sin\sbreaking\nout\sfrom\sTclCompileScript()\sthe\scentral\sengine\sthat\scompiles\sa\ssingle\ncommand\sso\sthat\sit\scould\sbe\scalled\sby\sTCE\sas\swell.\n
J login dgp
J mimetype text/plain
J username dgp
K 3485833fffffffffffffffffffffffffffffffff
U dgp
Z d9cafce7b914300cb5ebcdd2729225c9