Manuel Meyer
May 28, 2022

I remember this was a topic at my university (20y ago).

Gist: ++i is more performant, as the compiler can increase it in place, while i++ requires writing to another variable.

Manuel Meyer
Manuel Meyer

Written by Manuel Meyer

Freelance Software Developer and Code Strategist.

No responses yet