From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: George Shagov <georgeshagov@yahoo.com>
Cc: "libstdc++" <libstdc++@gcc.gnu.org>
Subject: Re: Improving Binary Search Algorithm by Three Boolean Logic
Date: Fri, 6 Nov 2020 11:55:39 +0000 [thread overview]
Message-ID: <CAH6eHdQu3oDtJDL2SqYZhmsL08m46s33sFb2tHMHNSGZQcFsvg@mail.gmail.com> (raw)
In-Reply-To: <CAH6eHdQektxzNLEdrHd77oPr8LdN05Thk4=uWtiq2_i4CzJJZg@mail.gmail.com>
On Fri, 6 Nov 2020, 11:50 Jonathan Wakely, <jwakely.gcc@gmail.com> wrote:
>
>
> 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
>
A better link for the operator is:
https://en.cppreference.com/w/cpp/language/operator_comparison#Three-way_comparison
prev parent reply other threads:[~2020-11-06 11:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <555ecf51-2e53-5b77-80c7-676bc62904b0.ref@yahoo.com>
2020-11-06 9:39 ` George Shagov
2020-11-06 11:50 ` Jonathan Wakely
2020-11-06 11:55 ` Jonathan Wakely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6eHdQu3oDtJDL2SqYZhmsL08m46s33sFb2tHMHNSGZQcFsvg@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=georgeshagov@yahoo.com \
--cc=libstdc++@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).