Board Thread:Lua Help/@comment-4405550-20160107031030/@comment-11733175-20160107195618

I think there's a difference between minification and optimisation, the latter of which is closer to what you're suggesting.

I'm strongly against minification in any code, there's often no discernible difference in code that has been minified at runtime, and lets not forget that Lua is compiled rather than interpreted which means whitespace is free. More spaced code is more readable code.

If there's specific optimisation tips you know of, why not add them to a page, such as Lua templating/Optimising code so others can contribute to it and more people can benefit from it. I've had to optimise a few modules before and it's not easy once you get past the simple stop using global variables and cut down on string concatenation.