Re:Nearly All Binary Searches and Mergesorts are Broken (2006)
by Natsu on Thursday July 09, 2015 @04:16PM
(#9860395)
> Yes, detecting the overflow is free but reacting to it is expensive.
And if you tell the compiler not to care, it won't be doing that reaction (only the 'free' detection) and I thought you already stipulated that your hypothetical code would be doing math where that simply didn't happen, meaning that the expensive reaction would not be triggered.
And if you tell the compiler not to care, it won't be doing that reaction (only the 'free' detection) and I thought you already stipulated that your hypothetical code would be doing math where that simply didn't happen, meaning that the expensive reaction would not be triggered.