@csepp @cancel I happen to know that not following clean code guidelines does deter JITers (like the major JS engines) from applying their optimizations, so caveat there.
And beyond that like @wim_v12e I'd ask about compiler settings in these experiments since both GCC & LLVM put a lot of work into ensuring don't slow down your program.
Finally as a computer scientist I'd advise that these sorts of wins aren't the biggest bang for your buck!