Overview
| Artifact ID: | d1157212d63f0c634a627ee8bb6ab42a6bfbe012 |
|---|---|
| Ticket: | 3418547fffffffffffffffffffffffffffffffff
cmd literal sharing vs. cmd resolvers |
| User & Date: | dgp on 2016-07-16 16:26:27 |
Changes
- icomment:
The key to making progress here, I believe, is to establish what limitations can be imposed on custom command name resolvers. If a custom resolver is totally free to return anything at all, then it is impossible to cache the result of any resolution with the expectation that a later resolution can be skipped on the theory that we already know the answer. At a minimum a custom resolver has to be predictable and has to have its result be a function of a known set of input state. If we cannot cache cmd name lookup results, it quickly follows that we cannot do any bytecode compiling either in any context where a custom resolver has any chance to play a role. That's quite a consequence! I think imposing some limits on custom resolvers is preferable to that.
- login: "dgp"
- mimetype: "text/plain"