lua-users home
lua-l archive

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


>> Lua is probably quite fast already even if you only use global
variables, ie, don't bother with locals.

That's been our experience.

We use Lua to script almost all of our games, and we've never once
localized a global (for performance, or any other reason), because it's
not a bottleneck, and we don't waste time "optimizing" stuff that's not
a bottleneck.

Brian