Overview
| Artifact ID: | 63a3b57951dd4a6d876d618d4e30522e1d296f45 |
|---|---|
| Ticket: | 3485833fffffffffffffffffffffffffffffffff
trace - inexplicable large overhead by ensemble commands |
| User & Date: | dgp on 2012-03-06 22:31:57 |
Changes
- icomment:
I don't understand the purpose in the patched TclGetSrcInfoFroCmd() of moving the "command" pointer forward off of "string" and onto "range" in the comment example "string range". If we've already located a pointer to "string range" seems to me that's the traced command and we can just use it without modification. If there's no need for modification, then there's no need for a special sentinel value to trigger the modification, and things can get much simpler. If there's really a need for this, I need it explained to me, and we should probably add a test demonstrating it. We'll also have to fix the code so it works better. It's not correct to just assume that each word in a Tcl command is separated from the next word by a single space.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"