News for hackers. Stuff that matters.
Re:Why is it faster to process a sorted array than an unsort... by repsilat on Friday September 15, 2017 @11:18AM (#15257827)
You can partition the list with zero branches (aside from the loop test.) You don't need to sort it.

(Though, of course, the original algorithm can be written in a one-pass branchless fashion anyway, so the point is kinda moot.)

There are no comments on this comment yet.