in reply to A Luser's Benchmarking Tale

IIRC, a label jump is done by a linear scan through the source code at run time. So performance will decrease as your code base gets larger.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: A Luser's Benchmarking Tale
by eric256 (Parson) on Nov 25, 2003 at 23:19 UTC

    Perl doesn't keep an index of label locations during compile? It would seem then that a label jump should be quite rapid. Not that i like labels at all.


    ___________
    Eric Hodges