@Paroz This is very much dependent on the CPU architecture for which the compiler optimizes the code. You can just google for some C "tips and tricks", performing for loops which count down to 0 is preferable in most cases (as well as
while
loops). I don't know if there is a good book which summarizes everything that exists today.