News for hackers. Stuff that matters.
Re:Bjarne Stroustrup Answers C++ Questions by lordnacho on Tuesday October 15, 2019 @09:40AM (#21258220)
In this case the processing seems to be deciding whether the number in the array is in the top half or bottom half. Branch prediction (assuming some simple heuristic) on that would be wrong once if it's sorted, but half the time when it's not.

There are no comments on this comment yet.