Artifacts Associated With Ticket 1041072
Ticket change [c87a4169ff] (rid 122110) by dkf on 2004-10-05 22:50:27:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
This makes Tcl_AppendResultVA (and hence Tcl_AppendResult) more suitable for the Tcl_Obj world :^) Does not touch the rest of the file.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dkf"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "More efficient Tcl_AppendResult"
- type initialized to: "Patch"
Ticket change [3054544ac4] (rid 93232) by dkf on 2004-10-06 05:50:28:
- icomment:
File Added - 103960: result.diff
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Add attachment "result.diff" [9209c1b48e] (rid 120715) by dkf on 2004-10-06 05:50:28.
Ticket change [4163ae5a7b] (rid 116184) by dkf on 2004-10-06 06:22:39:
- status changed to: "Closed"
Ticket change [4a0d30d016] (rid 126469) by dkf on 2004-10-06 06:22:40:
- assignee changed to: "dkf"
- closedate changed to: "2004-10-05T23:22:40"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Accepted with minor modifications (thanks jenglish and dgp!)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Accepted"
- username: "dkf"
Ticket change [2c91bd75ad] (rid 118925) by dgp on 2004-10-27 01:16:31:
- icomment:
Logged In: YES user_id=80530 backport?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c55958e79f] (rid 111988) by dgp on 2004-11-18 05:33:13:
- status changed to: "Open"
Ticket change [07df2ec4d6] (rid 89479) by dgp on 2004-11-18 05:33:14:
- icomment:
Logged In: YES user_id=80530 This patch killled the performance of Tk test canvPs-3.1. See Tk Bug 1041475.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f57ae047b0] (rid 130115) by dgp on 2004-11-18 06:07:58:
- icomment:
Logged In: YES user_id=80530 The [$canvas postscript] command creates the postscript description of the $canvas contents directly in the interp result with calls to Tcl_AppendResult(). The canvPs-3.1 test makes tens of thousands of T_AR calls. WIthout this patch, those tens of thousands of calls happen in the blink of an eye. With this patch, they take > 30 seconds. Since the intent of this patch was to make things more efficient, I think it's not working and should be reverted. Attached is an "undo" patch that will do that.
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "7 High"
- username: "dgp"
- icomment:
Add attachment "undo.patch" [04840b7ea8] (rid 120009) by dgp on 2004-11-18 06:08:00.
Ticket change [244c994c3a] (rid 131086) by dgp on 2004-11-18 06:08:01:
- icomment:
File Added - 109141: undo.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [1bb8cdfaa1] (rid 123200) by dgp on 2004-11-18 23:00:20:
- icomment:
Logged In: YES user_id=80530 As an alternative to an undo, simply removing the final Tcl_GetStringResult() call from Tcl_AppendResultVA also restores the lost performance. That is, that monumental runtime price is paid solely to maintain interp->result.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [57a9ec3f98] (rid 117656) by dkf on 2004-11-23 07:21:07:
- closedate changed to: "2004-11-23T00:21:07"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Since that only adversely affects ancient apps that insist on fiddling with interp->result directly (Expect is such an app still AIUI), I've just removed the call to Tcl_GetStringResult(). Anyone who really wants it in (and who has read this thread carefully so they understand the consequences) can define the preprocessor symbol USE_DIRECT_INTERP_RESULT_ACCESS when building tclResult.c...
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dkf"