3 ms·
Per godbolt with GCC 11 and clang 13, there is no difference between those two. Both end up compiled to the same machine code (though GCC and clang both compile
by Jtsummers 5y ago
Per godbolt with GCC 11 and clang 13, there is no difference between those two. Both end up compiled to the same machine code (though GCC and clang both compile them differently, both are consistent with themselves with respect to pre or post decrement).
https://godbolt.org/z/qbEo9GzEx https://godbolt.org/z/qbEo9GzEx