[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua: Performance
- From: Stefan Sandberg <keffo.sandberg@...>
- Date: Mon, 21 Jul 2008 17:42:13 +0200
... and that's their responsibility, not lua's... It's up to them to do
proper research subtle language differences, imo..
Mark Hamburg wrote:
On Jul 21, 2008, at 6:03 AM, Manish Jain wrote:
2) we are using very less number of global variables.
Remember that global variable usage can be subtle for those coming
from other languages. For example, calling string.format takes two
table lookups in addition to the function call. If you cache
string.format in a local variable, you eliminate those.