4 ms·
I couldn't help it. Take a look at map/filter/reduce loop collapsing, and function inlining using AST analysis. It makes the code go really fast in LuaJIT. htt
by meric 10y ago
I couldn't help it.
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 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.