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

Traditionally it's compiled, I imagine it's recompiled when the module is edited same as CSS and JS are.

As for needing to optimise your code, it's worth pointing out it's not really necessary on the page you've linked to. The time used by Lua on that page is ~0.2 seconds out of 10. You're a long, long way away from needing to optimise tiny details. It's not until you're getting issues like w:c:rs:User:Cqm/Scrapbook 7 that you need to get creative ;)