3 ms·
This is true, if your comparison operator is very expensive you should (very, very carefully) implement the traditional binary search.
by orlp 5y ago
This is true, if your comparison operator is very expensive you should (very, very carefully) implement the traditional binary search.