Overview
| Artifact ID: | d011c70d6d4e24f1a45aa801655513605e315b59 |
|---|---|
| Ticket: | 1081779fffffffffffffffffffffffffffffffff
speed up proc calls, improve resolver logic |
| User & Date: | msofer on 2004-12-09 01:00:24 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
When resolvers are defined, the function TclInitCompiledLocals marks every variable that has been found by them with VAR_RESOLVED. This flag avoids a new lookup until one of the relevant the resolver epochs changes. Variables that the resolvers did *not* find (ie, locals) remain unmarked. This means that the resolvers will look them up (and fail) at every proc invocation. If the resolvers do expensive lookups, this may slow down every proc call considerably. The attached patch marks every variable with VAR_RESOLVED, wether it was found or not - i.e., VAR_RESOLVED now means VAR_PROCESSED_BY_RESOLVERS. The patch should be tested with Itcl and Xotcl (the known resolver users) to insure that my analysis is coherent with their usage.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "07. Variables"
- title changed to: "improve proc call when using resolvers"
- type changed to: "Patch"