Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
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.


in reply to Re: is 'my' that much faster than 'local'?
in thread is 'my' that much faster than 'local'?

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...

  • Comment on Re (tilly) 2: is 'my' that much faster than 'local'?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://67480]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.