Take a look at map/filter/reduce loop collapsing, and function inlining using AST analysis. It makes the code go really fast in LuaJIT. https://github.com/meric/l2l/#zero-cost
That kind of abstraction can be written as an extension module and imported as easily in the language as if it were another Lua module.
Take a look at map/filter/reduce loop collapsing, and function inlining using AST analysis. It makes the code go really fast in LuaJIT. https://github.com/meric/l2l/#zero-cost
That kind of abstraction can be written as an extension module and imported as easily in the language as if it were another Lua module.