Comment Comment by the_evacuator Technically the branch prediction benefit comes from partitioning the array around the critical value 128. Sorting is not necessary. Partitioning may be faster. parent the_evacuator 9 years ago