Dave Mitchell wrote: >BTW, I'm not convinced that the call checker is the right way to optimise >away those functions, in that it is a compile-time check on the CV in the >GV, whereas function calls are normally resolved by a run-time lookup of >the CV in the GV; Calls to constant subs already get resolved at compile time. This is not (entirely) new behaviour. I'm relaxed about runtime monkey-patching not working; compile-time monkey-patching seems eminently adequate. Bigger picture: if we decide that only the runtime-dynamic behaviour is correct, then that rules out huge swathes of optimisability. Whether it was originally correct or not, compile-time resolution is the healthier direction in which to evolve. -zeframThread Previous | Thread Next