Ticket UUID: | 1222800 | |||
Title: | Performance rewrite of the SafeBase | |||
Type: | Patch | Version: | None | |
Submitter: | andreas_kupries | Created on: | 2005-06-17 17:39:43 | |
Subsystem: | 33. Safe Base | Assigned To: | aku | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Closed | Last Modified: | 2020-12-31 15:55:49 | |
Resolution: | Fixed | Closed By: | kjnash | |
Closed on: | 2020-12-31 15:55:49 | |||
Description: |
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__. | |||
User Comments: |
kjnash added on 2020-07-21 21:37:43:
I believe Andreas applied these changes in a series of commits in 2009, many of them on 2009-11-05. Was there anything left over, and if not can the ticket be closed? andreas_kupries added on 2005-06-18 07:45:10: 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. andreas_kupries added on 2005-06-18 00:39:45: File Added - 138782: safe.tcl |
Attachments:
- safe.tcl [download] added by andreas_kupries on 2005-06-18 00:39:44. [details]