3 ms·
Interestingly GCC will still optimize the loop function even if you have code that modifies the modulus. https://godbolt.org/z/EE9PnrY7s https://godbolt.org/z/E
by why_only_15 5y ago
Interestingly GCC will still optimize the loop function even if you have code that modifies the modulus. https://godbolt.org/z/EE9PnrY7s https://godbolt.org/z/EE9PnrY7s
- colonwqbang 5y agoThat code is invalid, it would give a compiler warning and possibly a runtime exception.