+ 2

Why is n++ faster than n=n+1

7th Sep 2017, 9:41 AM
Samuel Agbanagba
Samuel Agbanagba - avatar
2 Answers
+ 2
Not necessarly faster, as most of compilers/interpreters would compile/run both as same low level instructions (if well optimized/implemented)...
7th Sep 2017, 3:42 PM
visph
visph - avatar