[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bf4ef6ce-8fa9-57b8-7d18-2a4cbb41455b@gmail.com>
Date: Fri, 21 Apr 2023 19:21:36 +0700
From: Bagas Sanjaya <bagasdotme@...il.com>
To: Willy Tarreau <w@....eu>
Cc: André Coelho <andrealbergaria@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: strings
On 4/21/23 13:34, Willy Tarreau wrote:
>> 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.
>
Thanks for explanation! I don't have any serious C[++] programming
background, so I was confused when I wrote the original reply.
--
An old man doll... just what I always wanted! - Clara
Powered by blists - more mailing lists