(Sorry if this is too much bikeshedding)
Compile hints are a mechanism that enables the developer to implement a policy that may affect performance.
Eagerly compiling the functions that are known to be called on load is one policy.
Eagerly compiling all functions, or some subset that includes event handlers and site navigation, are different policies.
Can we find a name that better reflects the mechanism rather than comments named after one policy that are then used to implement a different policy?
The term high priortity is used in description of the feature. Perhaps
//# functionPriorityHigh=all
and
//# functionPriotityHigh=<data>
(Sorry if this is too much bikeshedding)
Compile hints are a mechanism that enables the developer to implement a policy that may affect performance.
Eagerly compiling the functions that are known to be called on load is one policy.
Eagerly compiling all functions, or some subset that includes event handlers and site navigation, are different policies.
Can we find a name that better reflects the mechanism rather than comments named after one policy that are then used to implement a different policy?
The term high priortity is used in description of the feature. Perhaps
//# functionPriorityHigh=alland
//# functionPriotityHigh=<data>