3 ms·
> just let it overflow I agree with this. Making integer overflow UB is ridiculous. > and don't fuck up any bounds checks But I disagree with this. That's ju
by sanxiyn 4y ago
> just let it overflow
I agree with this. Making integer overflow UB is ridiculous.
> and don't fuck up any bounds checks
But I disagree with this. That's just normal UB-based optimization, one of the point of having UB at all is to do such optimization.
- iforgotpassword 4y agoOk well yes, technically as soon as the compiler doesn't treat the overflow as UB anymore the second part is not applicable anymore. Badly worded on my side.