Re: Can someone explain this performance issue?



On Nov 28, 4:12 pm, Twylite <twylite.cr...@xxxxxxxxx> wrote:
Does anyone have any wisdom on this apparently bizarre situation?


I believe so. If you set $iterscript to varying values, its bytecodes
don't get a chance to be reused as much as when it is constant.

Moreover, in this kind of situations, to crank the most out of
bytecode compilation, a good idea is to dynamically call [proc] (with
computed procbodies), because much more is compiled than with a
variable argument to a control struct.

-Alex

.