i += a should be equivalent to i = i + a. In the case where a == 1, this is supposedly less efficient as ++i as it involves more accesses to memory; or will the compiler mak
The compiler should optimise the code whichever way you write it so I believe i = i + 1 is the same as ++i.