Page 2 of 2

Re: What exactly are Locals?

Posted: Sun Aug 02, 2009 8:32 am
by Robin
Zorbatron wrote:@Robin - Its faster because accessing globals requires lua to use the hash-lookup algorithm on the global table correct?
Yes, and IIRC locals put on a stack.