Menu

#414 Performance rewrite of the SafeBase

open
5
2005-06-17
2005-06-17
No

The attached safe.tcl file is a rewrite of the SafeBase
to remove gross inefficiences found in the existing
code. This rewrite is based on the code found in the
__8.4 branch head__.

Discussion

  • Andreas Kupries

    Andreas Kupries - 2005-06-17

    Modified SafeBase

     
  • Andreas Kupries

    Andreas Kupries - 2005-06-18

    Logged In: YES
    user_id=75003

    Some timing data, based on the generic plugin mgr in the
    works for Tcllib.

    Loading a plugin using the current safe base took 2434110
    usecs (2.43 seconds!). When using the new safe base attached
    here it was only 344632 usecs (0.34 seconds). The current
    safe base is 7 times slower than the rewritten version.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.