Improving Binary Search Algorithm by Three Boolean Logic

Jonathan Wakely jwakely.gcc@gmail.com
Fri Nov 6 11:50:24 GMT 2020


On Fri, 6 Nov 2020, 09:40 George Shagov via Libstdc++, <
libstdc++@gcc.gnu.org> wrote:

> Hello
>
> This is just an idea. But this could be useful for big-data processing,
> especially in case of strings. Pls have a look.
>
>
> https://www.codeproject.com/Tips/5284126/Improving-Binary-Search-Algorithm-by-Three-Boolean


It looks like you're reinventing the <=> operator.

https://en.cppreference.com/w/cpp/header/compare



>


More information about the Libstdc++ mailing list