Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 58fad51e255a76f034c26cdef2610a14da309acb
Ticket: 1090905fffffffffffffffffffffffffffffffff
Avoid sharing cmdNames accross namespaces
User & Date: msofer on 2004-12-24 17:50:36
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This patch avoids sharing cmdName objects accross
    namespaces, thus increasing the usage of cached
    references and reducing the cost of repeated command
    name lookups.
    
    There is an obvious memory cost, as there are
    previously shared literals that will not be shared now.
    
    The recently namespace.bench shows:
    
    Benchmark 1:8.5a3 /mnt/CVS/tcl_SF_clean/unix/tclsh-head
    n 00:00:02 elapsed
    Benchmark 2:8.5a3 /mnt/CVS/tcl_SF_clean/unix/tclsh-lit
    n 00:00:01 elapsed
    000 VERSIONS:      1:8.5a3 2:8.5a3
    001 NS alternating    1640    1165
    001 BENCHMARKS     1:8.5a3 2:8.5a3
    
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "47. Bytecode Compiler"
  10. title changed to: "Avoid sharing cmdNames accross namespaces"
  11. type changed to: "Patch"