lua-users home
lua-l archive

Optimisations

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


Hello,
I read the Optimisation Coding Tips on the Lua Users Wiki (http://lua-users.org/wiki/OptimisationCodingTips). It is recommended there to use local variables and futhermore bind also often used extern functions, i.e. from a library, to a local variable. I wondered if it would also be an optimisation to define functions in a single Lua script also as local everytime? Does this make any sense?
Thanks for response and kind regards!
Eva

AltStyle によって変換されたページ (->オリジナル) /