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'?