This is simply not true - if you look at this article’s excellent benchmarking, linear search falls behind somewhere around 200-400 elements.
In general I love this article, it took what I’ve often wondered about and did a perfect job exploring with useful ablation studies.
I don't think std::find typically uses a sentinel, though?
For that machine and compiler version, yes.
Except on Apple, where binary search always wins. Does anyone know why?
I don't really see how this implies the above commenter's statement is "simply not true".