Comment on Why is processing a sorted array faster than an unsorted array?parentComments−nuclear_eclipse13yIf you read the post author's comment on his own post, he went back and added all the explanation/analogy after making the initial post that just said it was down to branch prediction.
Comments
If you read the post author's comment on his own post, he went back and added all the explanation/analogy after making the initial post that just said it was down to branch prediction.