Over the last few years, I've put together a list of some more Lua tricks that I've come across:

Using Memory Efficiently1. Eliminate memory leaks — Global variables are never considered garbage so you need to set them to "nil" when they are no longer required.2. Avoid loading resource files until they're actually needed.

Over the last few years, I've put together a list of some more Lua tricks that I've come across:

Using Memory Efficiently1. Eliminate memory leaks — Global variables are never considered garbage so you need to set them to "nil" when they are no longer required.2. Avoid loading resource files until they're actually needed.