lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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