lua-users home
lua-l archive

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


I read the Optimisation Coding Tips on the Lua Users Wiki (

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!