Skip to content
Tcl Source Code History Of Ticket 1037357
Login

History Of Ticket 1037357

Artifacts Associated With Ticket 1037357

  1. Ticket change [e8742c36c2] (rid 104645) by dkf on 2004-09-29 22:59:22:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This patch speeds up [uplevel] and [upvar] by caching
      the result of parsing the string form of the level
      indicator in the Tcl_Obj argument instead of always
      working with the string form for everything.
      
    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: "22. [proc] and [uplevel]"
    10. title initialized to: "Speedup for [uplevel] and [upvar]"
    11. type initialized to: "Patch"
  2. Ticket change [ba1ee90618] (rid 129264) by dkf on 2004-09-30 05:59:22:

    1. icomment:
      
      
      File Added - 103249: objup.diff
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [876e02b37a] (rid 131695) by dgp on 2004-09-30 06:42:13:

    1. icomment:
      
      
      File Added - 103256: 1037357.patch
      
      Logged In: YES 
      user_id=80530
      
      corrected  patch applies and compiles.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [271af7a7ab] (rid 88458) by dgp on 2004-09-30 06:47:46:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      The comments in Tcl*GetFrame
      say "modify the interpreter", but
      neither routine actually does that.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [088f470f35] (rid 89583) by dgp on 2004-09-30 07:15:49:

    1. icomment:
      
      
      File Deleted - 103256: 
      
      
      
      File Added - 103261: 1037357.patch
      
      Logged In: YES 
      user_id=80530
      
      updated patch takes care of comments
      and allows `make genstubs` to succeed.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Add attachment "1037357.patch" [d26de26fe0] (rid 113529) by dgp on 2004-09-30 07:15:49.

  7. Ticket change [7de455a061] (rid 97305) by dgp on 2004-09-30 08:10:58:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      something about the patch
      breaks tcltest:
      
      dict.test
      Test file error: can't rename "::tcltest::Replace::Puts":
      command doesn't exist
          while executing
      "rename [namespace current]::Replace::Puts ::puts"
          (procedure "::tcltest::Eval" line 16)
          invoked from within
      "::tcltest::Eval {::tcltest::RunTest dict-18.2 {# Test that
      the dictionary is a valid list
              set d [dict create "abc def" 0 "a\{b" 1 "c\}d" 2]
        ..."
          ("uplevel" body line 1)
          invoked from within
      "uplevel 1 [list [namespace origin Eval] $command 1]"
          (procedure "test" line 126)
          invoked from within
      "test dict-18.2 {dict-list relationship} {
          -body {
              # Test that the dictionary is a valid list
              set d [dict create "abc def" 0 "a\{b"..."
          (file "/local/src/tcl/tests/dict.test" line 726)
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [2c7109f29b] (rid 118905) by dgp on 2004-09-30 08:48:33:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Root of the problem appears to
      be line 1965 of tcltest.tcl where
      the literal "1" appears twice.
      First as the "level" argument
      to [uplevel] and second as an
      argument in the command to
      be evaluated up a level.  Something
      isn't shimmering right, I'd suspect.
      
      As a check, if I remove the second "1"
      from that line (and accept the default
      value of that argument, which is 1),
      then the problem goes away.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [23b95e5a8c] (rid 130984) by dgp on 2004-09-30 09:31:12:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      This patch should be checked
      against tclbench.  I suspect that
      whatever is being saved by
      repeated use of $level by 
      multiple [uplevel]s and [upvar]s
      is more than being lost by
      the greatly increased shimmering of
      the literal constant "1" in so many
      logical expressions.
      
      `make test` sure feels a lot slower anyway.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [dc3b84ab8c] (rid 108103) by dkf on 2004-09-30 15:13:51:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Thanks for the review; I'll have to write a new version that
      is aware of numeric types and avoids the conversion in those
      situations. I suspected I needed to do this anyway ;^)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [56b314d864] (rid 94366) by dkf on 2004-09-30 22:36:51:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Here's a version that shouldn't have problems with
      shimmering all over the place.  Causes no new test failures.
       No idea (formally) what happens in tclbench, but looks good
      in informal trials. ;^)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  12. Add attachment "1037357_2.patch" [a9bfa3c649] (rid 99205) by dkf on 2004-09-30 22:36:52.

  13. Ticket change [d22b34e9d3] (rid 113483) by dkf on 2004-09-30 22:36:52:

    1. icomment:
      
      
      File Added - 103339: 1037357_2.patch
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  14. Ticket change [3e937ec84b] (rid 121296) by dkf on 2004-09-30 22:37:12:

    1. icomment:
      
      
      File Deleted - 103249: 
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  15. Ticket change [65091c636e] (rid 92875) by dgp on 2004-09-30 22:52:03:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      revised patch tests ok.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [e5a641acad] (rid 104158) by dkf on 2004-10-01 19:46:02:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2004-10-01T12:46:02"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      
      Applied to HEAD
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. status changed to: "Closed"
    9. username: "dkf"