Why processing a sorted array is faster than processing an unsorted array
stackoverflow.com
stackoverflow.com
The only substantial discussion on HN I could find is from 4 years ago: https://news.ycombinator.com/item?id=4637196
It would be interesting to know if anything has changed.
In case you're interested in checking for other comments on the topic (and there are a few here and there), here are some of the other submissions:
https://hn.algolia.com/?query=Why%20processing%20a%20sorted%...