Skip to content
Tcl Source Code History Of Ticket 1041072fffffffff
Login

History Of Ticket 1041072fffffffff

Artifacts Associated With Ticket 1041072fffffffff

  1. Ticket change [c87a4169ff] (rid 122110) by dkf on 2004-10-05 22:50:27:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dkf"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "More efficient Tcl_AppendResult"
    11. type initialized to: "Patch"
  2. Ticket change [3054544ac4] (rid 93232) by dkf on 2004-10-06 05:50:28:

    1. icomment:
      
      
      File Added - 103960: result.diff
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Add attachment "result.diff" [9209c1b48e] (rid 120715) by dkf on 2004-10-06 05:50:28.

  4. Ticket change [4163ae5a7b] (rid 116184) by dkf on 2004-10-06 06:22:39:

    1. status changed to: "Closed"
  5. Ticket change [4a0d30d016] (rid 126469) by dkf on 2004-10-06 06:22:40:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2004-10-05T23:22:40"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      
      Accepted with minor modifications (thanks jenglish and dgp!)
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. username: "dkf"
  6. Ticket change [2c91bd75ad] (rid 118925) by dgp on 2004-10-27 01:16:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      backport?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [c55958e79f] (rid 111988) by dgp on 2004-11-18 05:33:13:

    1. status changed to: "Open"
  8. Ticket change [07df2ec4d6] (rid 89479) by dgp on 2004-11-18 05:33:14:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      This patch killled the performance
      of Tk test canvPs-3.1.  See Tk
      Bug 1041475.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [f57ae047b0] (rid 130115) by dgp on 2004-11-18 06:07:58:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "7 High"
    5. username: "dgp"
  10. Add attachment "undo.patch" [04840b7ea8] (rid 120009) by dgp on 2004-11-18 06:08:00.

  11. Ticket change [244c994c3a] (rid 131086) by dgp on 2004-11-18 06:08:01:

    1. icomment:
      
      
      File Added - 109141: undo.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [1bb8cdfaa1] (rid 123200) by dgp on 2004-11-18 23:00:20:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  13. Ticket change [57a9ec3f98] (rid 117656) by dkf on 2004-11-23 07:21:07:

    1. closedate changed to: "2004-11-23T00:21:07"
    2. closer changed to: "dkf"
    3. 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...
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"