3 ms·
I'll split this operation into a variable so it's easier to debug. Oh, now the variable is defined outside of the loop. How did that happen.
by hinkley 5y ago
I'll split this operation into a variable so it's easier to debug. Oh, now the variable is defined outside of the loop. How did that happen.
- touisteur 5y agoIf your compiler is not doing expression hoisting at -O2 in 2022, we should (collectively) ask for a refund (I know I'd be opening tickets since we pay for compiler support). Of course, very often, doing that often improves readability so it might still be a good use if your time.