[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Question about Lua performance (locals vs globals)
- From: "Chris Camfield" <chris-camfield@...>
- Date: Tue, 05 Aug 2008 17:50:19 -0400
Hi all,
I understand from previous threads that using globals is more expensive
than locals. What I'd like to ask is - is this based simply on the number
of table lookups, or is there anything beyond that? I assume that the
cost of any table lookup is equal, including referencing "self". Is that
right?
Thanks in advance,
Chris
--
Chris Camfield
Lead Creator
KOEI Canada