Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f06abf278cff451e964adf7322521fabc94adee1
Ticket: 453709ffffffffffffffffffffffffffffffffff
optimize ExceptionRange lookups
User & Date: msofer on 2002-03-06 21:44:36
Changes

  1. assignee changed to: "hobbs"
  2. icomment:
    
    
    File Added - 18891: newRange.diff
    
    Logged In: YES 
    user_id=148712
    
    New patch: this one does only modifies the runtime lookup
    algorithm, but does not touch the compiler. 
    
    Checking with Jeff if .tbc code will not be broken, i.e., if
    it satisfies the assumption:
      "nested ranges are always *after* their containing ranges"
    
    The gains are illustrated with tcllib patch #526404
    (tclbench):
    
    TCL_INTERP: 1:8.4a4 2:8.4a4
    STARTED 2002-03-06 11:38:10 (runbench.tcl v1.13)
    Benchmark 1:8.4a4 /CVS/tcl_SF_clean/unix/tclsh0
    c 00:00:00 elapsed
    126 milliseconds
    Benchmark 2:8.4a4 /CVS/tcl_SF_clean/unix/tclsh-newRange
    c 00:00:00 elapsed
    105 milliseconds
    000 VERSIONS:            1:8.4a4 2:8.4a4
    001 CATCH error, complex      58      47
    002 CATCH no catch used        3       3
    003 CATCH return error        28      28
    004 CATCH return ok            4       3
    004 BENCHMARKS           1:8.4a4 2:8.4a4
    FINISHED 2002-03-06 11:38:10
    
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. priority changed to: "5 Medium"
  6. status changed to: "Open"
  7. username: "msofer"