If run the benchmark from the repository with enabled jit.dump it may be observed that there are many trace abortions due to FNEW bytecode:
|
local gen = fun.wrap(function(param, state) |
|
return function(lhs, rhs) |
Rewriting this functions as locals to avoid their generation at each call may improve the performance.
If run the benchmark from the repository with enabled
jit.dumpit may be observed that there are many trace abortions due toFNEWbytecode:crud/crud/select/executor.lua
Line 143 in 5e13a86
crud/crud/compare/comparators.lua
Line 89 in 5e13a86
Rewriting this functions as locals to avoid their generation at each call may improve the performance.