Skip to content
Tcl Source Code History Of Ticket 1081779
Login

History Of Ticket 1081779

Artifacts Associated With Ticket 1081779

  1. Ticket change [d011c70d6d] (rid 113100) by msofer on 2004-12-09 01:00:24:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When resolvers are defined, the function
      TclInitCompiledLocals marks every variable that has
      been found by them with VAR_RESOLVED. This flag avoids
      a new lookup until one of the relevant the resolver
      epochs changes.
      
      Variables that the resolvers did *not* find (ie,
      locals) remain unmarked. This means that the resolvers
      will look them up (and fail) at every proc invocation.
      If the resolvers do expensive lookups, this may slow
      down every proc call considerably.
      
      The attached patch marks every variable with
      VAR_RESOLVED, wether it was found or not - i.e.,
      VAR_RESOLVED now means VAR_PROCESSED_BY_RESOLVERS.
      
      The patch should be tested with Itcl and Xotcl (the
      known resolver users) to insure that my analysis is
      coherent with their usage.
      
    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: "msofer"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "improve proc call when using resolvers"
    11. type initialized to: "Patch"
  2. Add attachment "patch" [8ce8fc96fd] (rid 127816) by msofer on 2004-12-09 08:00:27.

  3. Ticket change [170e95e65d] (rid 124815) by msofer on 2004-12-09 08:00:32:

    1. icomment:
      
      
      File Added - 111773: patch
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [5d5c5934d3] (rid 115447) by msofer on 2004-12-10 05:58:23:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      New patch attached, with improved logic for
      TclInitCompiledLocals. This should speed up all Proc
      invocations, irespective of the presence of resolvers.
      
      Gustaf reports that the old patch is fine with xotcl, the
      new one should be fine too.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [1ca451bdd3] (rid 90641) by msofer on 2004-12-10 05:58:24:

    1. icomment:
      
      
      File Added - 111914: initlocals
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [856c643af6] (rid 131311) by msofer on 2004-12-10 05:59:26:

    1. title changed to: "speed up proc calls, improve resolver logic"
  7. Ticket change [e0ced5ff9f] (rid 87344) by msofer on 2004-12-10 20:11:29:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2004-12-10T13:11:29"
    3. closer changed to: "msofer"
    4. icomment:
      
      
      File Deleted - 111914: 
      
      
      
      File Added - 111978: initlocals
      
      Logged In: YES 
      user_id=148712
      
      Improved patch attached, committed to HEAD: optimised loops
      that initialise a proc's arguments and compiled local
      variables, removing tests from inner loops.
      
      Provides up to 10% speedup in some tclbench tests.
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Accepted"
    8. status changed to: "Closed"
    9. username: "msofer"
  8. Add attachment "initlocals" [a221235eb4] (rid 109839) by msofer on 2004-12-10 20:11:29.