lua-users home
lua-l archive

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


> does this impact performance, I mean the code you've written, does it 
> reduce performance or not.

Slightly, yes. But you can set an __index function to cache reads and
then it'll only be slower the first time a global variable is used.
--lhf