News for hackers. Stuff that matters.
Re:Clang vs. Clang by mgaunard on Sunday August 04, 2024 @09:22AM (#41153358)
The result of a binary search is undefined if the input is not sorted.

How do you expect the compiler to statically guarantee that this property holds in all the cases you want to do a binary search?

There are no comments on this comment yet.