Overview
| Artifact ID: | 5947c5e1956f6cbfb4b5de4c59c256097851dbdb |
|---|---|
| Ticket: | ddc948cff9781daac7ad95a3077b3c1b4f07cf93
Tcl-clock speed-up / flightaware Tcl-bounties#4 |
| User & Date: | sebres on 2017-05-11 12:57:40 |
Changes
- icomment:
As regards the last commit [dea486a4618db6b9] (guaranties that the clock-stubs are loaded on demand only), following comparison shows why this is necessary: % timerate {exec tclsh86t << "clock seconds; exit"}; #don't load stubs 32281.4 µs/# 31 # 30.978 #/sec 1000.722 nett-ms % timerate {exec tclsh86t << "clock format -now; exit"}; #loading stubs 73673.4 µs/# 14 # 13.573 #/sec 1031.428 nett-ms BTW this new possibility of the namespace-based auto-loading (auto_index_ns) was cherry-picked from my another feature-branch, where I use it already long enough. For example I rewrote (to auto_index_ns) all the tclIndex-files on very-very large project of me, so the auto-loading is significant faster within its environment (additionally I've across-threaded implementation of auto_index (tsv), if someone needs please contact me). - login: "sebres"
- mimetype: "text/plain"