Overview
| Artifact ID: | 20d3dc4c52c9fc623a954f30d9abbf58a6ae6581d8bce37177727d39fe86783f |
|---|---|
| Ticket: | effa2e2346f8372ad4982d16bad189fab96ceb56
RFE - lazy loading of TclOO for faster interp creation |
| User & Date: | dkf on 2025-08-17 17:07:29 |
Changes
- icomment:
We can probably make the scripted part quite a bit more efficient. An initial (not very high effort) analysis indicates that making some parts be either implemented as C code or by lazy loading them should help. * The `oo::singleton`, `oo::abstract` and `oo::configurable` classes can likely be handled lazily (except we may need to teach the code how to do that). This would be the biggest win for extracting code from the script. * Implementing `oo::define::callback` and `oo::define::initialise` in C would be reasonable, due to the way they've got alternate names. (Other procedures appear to not take very long; still investigating.) * Some of the methods could go to C, except that's probably quite a bit of work.
- login: "dkf"
- mimetype: "text/x-markdown"