On 20 Apr 2000, Randal L. Schwartz wrote:

> >>>>> "Doug" == Doug MacEachern <[EMAIL PROTECTED]> writes:
> 
> Doug> why all the globals??  symbol table lookups are much slower than
> Doug> lexicals.
> 
> If I recall, the word lately is that they're much closer than they were.

i take it back, the symbol table lookups for globals are done at compile
time, 5.x has always done that, i think.  by the looks of:
 perl -MO=Terse -e 'my $lex = 1; our $ogv = 1; $gv = 1'

they still behave the same at runtime, though what happens during compile
time might be different.

> But lexicals are still "cleaner", if I recall.

indeed.

Reply via email to