|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re (tilly) 2: is 'my' that much faster than 'local'?by tilly (Archbishop) |
| on Mar 27, 2001 at 12:23 UTC ( [id://67480]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You typically do a lot of work in accessing
variables. Lexical variables bind at compile-time, global
variables involve a run-time lookup. Hence the performance
difference. Personally I suspect that with that much code, all global, there are serious algorithm mistakes scattered around that cannot be seen let alone fixed because of the hole that they dug for themselves...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||