|
2005-01-07
| ||
| 18:27 | • Ticket [1084013fff] resolver: performance bug status still Open with 4 other... artifact: 24b435cf84 user: msofer | |
|
2004-12-12
| ||
| 21:05 | • New ticket [1084013fff]. artifact: d5ffcc1e04 user: msofer | |
resolver: performance bug
Open1084013fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-12-12 21:05:00
All procsand scripts in a namespace are recompiled when a namespace's variable resolver changes; I have not looked up if the situation is the same for interpreter resolvers. This is a performance bug, as the bytecodes do not change with changes in the variable resolvers. Probably not too expensive, as I doubt that any extension is a frequent-resolver-updater. Note that currently this behaviour is *mandatory*, as the variable resolver epoch has been used to signal a necessary recompilation when bcc'ed commands are shadowed - the fix for [Bug 231259] exploits this buggy behaviour.
msoferplain2005-01-07 18:27:45
Logged In: YES user_id=148712 Another performance bug: the variable resolver is called repeatedly at proc loadtime, once per local variable. It would be more efficient to call it once, and let it initialise all variables in that single call (ie, take over the job of InitCompiledLocals)
Log in (anonymous is fine) to add a comment.