2 ms·
If it's really fine, shouldn't the compiler optimize that if away?
by Traubenfuchs 2y ago
If it's really fine, shouldn't the compiler optimize that if away?
- lifthrasiir 2y agoOf course (there are several GCC attributes for that), but it is not really like that an additional check improves readability anyway.
- cozzyd 2y agoIt has different performance characteristics
- kadoban 2y agoIsn't that common with changes the optimizer does? What else is the point of it?