From: Willy Tarreau <w@1wt.eu>
To: Bagas Sanjaya <bagasdotme@gmail.com>
Cc: "André Coelho" <andrealbergaria@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: strings
Date: Fri, 21 Apr 2023 08:34:47 +0200 [thread overview]
Message-ID: <ZEIuh80SfDms30dc@1wt.eu> (raw)
In-Reply-To: <ZEIPKhKNz7LnhM/q@debian.me>
[dropped innocents from the CC list]
On Fri, Apr 21, 2023 at 11:20:58AM +0700, Bagas Sanjaya wrote:
> On Thu, Apr 20, 2023 at 03:58:47AM +0100, André Coelho wrote:
> > greeting...if youre interessed in string algorihtm check
> >
> > https://andrealbergaria.github.io/
> >
>
> Looks like above link is about hex arithmetic implemented using strings,
> right?
It looks more like a reinvention of the classical multi-byte string
processing (memcmp, memcpy, memmove etc).
> Also, on what use cases can your idea fit the kernel context? Or doesn't the
> kernel already have the implementation yet?
Sure it does, look at __crypto_memneq() for example, or more generally
at any memcmp() or memcpy() implementation from the last 30 years, for
example in glibc.
Regards,
Willy
next prev parent reply other threads:[~2023-04-21 6:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 2:58 strings André Coelho
2023-04-21 4:20 ` strings Bagas Sanjaya
2023-04-21 6:34 ` Willy Tarreau [this message]
2023-04-21 12:21 ` strings Bagas Sanjaya
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=ZEIuh80SfDms30dc@1wt.eu \
--to=w@1wt.eu \
--cc=andrealbergaria@gmail.com \
--cc=bagasdotme@gmail.com \
--cc=linux-kernel@vger.kernel.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