Which is faster in Swift? Pre-increment ++i
, or post-increment i++
?
Is it the same as in C++?
Preincrement faster than postincrement in C++ - true? If yes, why is it?
Which is faster in Swift? Pre-increment ++i
, or post-increment i++
?
Is it the same as in C++?
Preincrement faster than postincrement in C++ - true? If yes, why is it?