Comment by Neywiny

Comment by Neywiny 18 hours ago

1 reply

I'm not sure I agree and I think you should try some stuff out on godbolt first. The compiler can see where variables are no longer in use, whereas unless you turn on link time optimization (which is known for being messy so nobody seems to), you'll likely get a lot of unnecessary push/pop between the function calls.

throwaway81523 12 hours ago

Declare the functions static and the compiler won't export the symbols and it can do more inlining.