Re:Using signed or unsigned int by default in C (2015)
by Quekid5 on Wednesday August 24, 2022 @03:34AM
(#32575998)
> I have never seen the benefit of leaving signed overflow undefined,
IIRC it affords huge optimization opportunities, esp. around loops. (Now, whether you like that or not is a value judgment, but a lot of people do want those optimizations.)
IIRC it affords huge optimization opportunities, esp. around loops. (Now, whether you like that or not is a value judgment, but a lot of people do want those optimizations.)