Interesting. What did you use to time it? Did you use Lua or LuaJIT, and which version?

Either way, we can see that the differences are not too significant to always use one of the options, but we should use the method that makes the code easier to understand and maintain.