Overview
| Artifact ID: | dae53c4dda31c0e291b40b85a6208c1b6aba87296f1b23a29135bb328de45db6 |
|---|---|
| Ticket: | effa2e2346f8372ad4982d16bad189fab96ceb56
RFE - lazy loading of TclOO for faster interp creation |
| User & Date: | apnadkarni on 2025-09-01 03:01:28 |
Changes
- icomment:
The current main branch: ``` % timerate {interp delete [interp create]} 1339.52 µs/# 746 # 746.54 #/sec 999.280 net-ms ``` The lazy loading branch ``` % timerate {interp delete [interp create]} 1199.97 µs/# 833 # 833.35 #/sec 999.577 net-ms ``` The starting point was 1861 so much of the cost of oo init has been eliminated by the move to C which is great news! Not sure whether it is worth lazy loading to save an additional 10% of initialization cost until further investigation of where else the initialization might be optimized. On travel on and off for a few weeks so that might be a while. - login: "apnadkarni"
- mimetype: "text/x-markdown"