is x += 5 faster than x = x + 5 ??
If yes then why??
Compound Assignment Operators
No. Any reasonable compiler is going to compile “a += b” and “a = a + b” to the same thing.
is x += 5 faster than x = x + 5 ??
If yes then why??
No. Any reasonable compiler is going to compile “a += b” and “a = a + b” to the same thing.