2 ms·
Same thing LuaJIT does. Implement the really performance critical functions in IR and emit direct calls to C implementations of the complex ones. In LuaJIT the
by jashmatthews 7y ago
Same thing LuaJIT does. Implement the really performance critical functions in IR and emit direct calls to C implementations of the complex ones.
In LuaJIT the FFI specifies enough type information to be able to call native functions from a trace.
I’m targeting optimizing through ActiveSupport String.blank? now I’ve got some micro benchmarks running.