Skip to content
Tcl Source Code History Of Ticket 1522510fff
Login

History Of Ticket 1522510fff

Artifacts Associated With Ticket 1522510fff

  1. Ticket change [ed13a5e925] (rid 103818) by fridolin on 2006-07-14 12:04:44:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This patch avoids an call to Tcl_GetStringFromObj on 
      byte-compiled expressions in Tcl_ExprObj (common 
      path). It's speed up (slightly) the recursive 
      benchmark from the "Computer Language Shootout". Not 
      much, but the patch is very simple.
      
    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: "fridolin"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "Tcl_ExprObj: avoid Tcl_GetStringFromObj"
    11. type initialized to: "Patch"
  2. Ticket change [95a3b11881] (rid 106190) by fridolin on 2006-07-14 19:04:44:

    1. icomment:
      
      
      File Added - 184921: avoid-getstringfromobj.diff
      
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  3. Add attachment "avoid-getstringfromobj.diff" [fc6fc533e7] (rid 108241) by fridolin on 2006-07-14 19:04:44.

  4. Ticket change [865a3404a4] (rid 131494) by dgp on 2006-07-17 21:25:54:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      what version of Tcl sources is
      the patch for?
      
      The patch appears to be all about
      replacing one form of special-case
      optimization with some other form
      of special-case optimization.
      I don't know that that makes much
      sense without some benchmarking
      data guiding the way.
      
      The old optimizations might
      well be relics and better
      removed, but some measurements
      ought to tell us that.  Got any?
      
      That said, Tcl_GetStringFromObj()
      on a Tcl_Obj that already has
      a string rep (which an expression
      should) ought to be really cheap,
      so I'd expect the patch to make
      little difference.  What's the
      data say?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [98b73015e2] (rid 110658) by fridolin on 2006-07-27 14:43:28:

    1. icomment:
      Logged In: YES 
      user_id=13583
      
      Sorry, the patch was done against tcl8.5a4.
      
      Vefore submitting I made some test with the attached 
      program, which does mostly expr-calculations. It is taken 
      from the  "Computer Language Shootout". 
      
      
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  6. Ticket change [635c661c94] (rid 92562) by fridolin on 2006-07-27 14:43:29:

    1. icomment:
      
      
      File Added - 186413: recursive.tcl
      
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  7. Add attachment "recursive.tcl" [5b991af3fa] (rid 118359) by fridolin on 2006-07-27 14:43:29.

  8. Ticket change [de38de28c7] (rid 114809) by fridolin on 2006-07-27 14:56:32:

    1. icomment:
      Logged In: YES 
      user_id=13583
      
      The data are not very impressive.
       
      Done under linux: with the patch:
      
      clsh recursive.tcl 3  24,82s user 0,07s system 96% cpu 
      25,661 total
      tclsh recursive.tcl 3  24,30s user 0,03s system 97% cpu 
      24,968 total
      tclsh recursive.tcl 3  24,58s user 0,02s system 93% cpu 
      26,280 total
      tclsh recursive.tcl 3  24,61s user 0,04s system 93% cpu 
      26,256 total
      
      without the patch:
      tclsh recursive.tcl 3  25,17s user 0,03s system 93% cpu 
      27,031 total
      tclsh recursive.tcl 3  25,10s user 0,07s system 92% cpu 
      27,254 total
      tclsh recursive.tcl 3  24,80s user 0,08s system 97% cpu 
      25,541 total
      tclsh recursive.tcl 3  24,78s user 0,05s system 96% cpu 
      25,644 total
      
      I'll upload a slightly simpler patch. There just a block is 
      moved.
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  9. Add attachment "tclExecute.c.diff" [be5641e698] (rid 102056) by fridolin on 2006-07-27 14:56:53.

  10. Ticket change [3805e435d3] (rid 112134) by fridolin on 2006-07-27 14:56:53:

    1. icomment:
      
      
      File Added - 186414: tclExecute.c.diff
      
      Logged In: YES 
      user_id=13583
      
      The data are not very impressive.
       
      Done under linux: with the patch:
      
      clsh recursive.tcl 3  24,82s user 0,07s system 96% cpu 
      25,661 total
      tclsh recursive.tcl 3  24,30s user 0,03s system 97% cpu 
      24,968 total
      tclsh recursive.tcl 3  24,58s user 0,02s system 93% cpu 
      26,280 total
      tclsh recursive.tcl 3  24,61s user 0,04s system 93% cpu 
      26,256 total
      
      without the patch:
      tclsh recursive.tcl 3  25,17s user 0,03s system 93% cpu 
      27,031 total
      tclsh recursive.tcl 3  25,10s user 0,07s system 92% cpu 
      27,254 total
      tclsh recursive.tcl 3  24,80s user 0,08s system 97% cpu 
      25,541 total
      tclsh recursive.tcl 3  24,78s user 0,05s system 96% cpu 
      25,644 total
      
      I'll upload a slightly simpler patch. There just a block is 
      moved.
      
      
    2. login: "fridolin"
    3. mimetype: "text/plain"
    4. username: "fridolin"
  11. Ticket change [14473d8b73] (rid 124366) by msofer on 2006-09-30 00:28:01:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2006-09-29T17:28:01"
    3. closer changed to: "msofer"
    4. status changed to: "Pending"
  12. Ticket change [0621e7bd5a] (rid 89167) by sf-robot on 2006-10-14 09:20:07:

    1. closedate changed to: "2006-10-14T02:20:07"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"