String Functions for x86-64
Ulrich Drepper
drepper@redhat.com
Tue May 2 17:11:00 GMT 2006
Menezes, Evandro wrote:
> Here are the remaining routines bundled with the others previously submitted. Their performance is generally better than the existing ones on x86-64 processors.
Where is the (reproducible) data to support that claim? I have no
reason to believe you.
What are the boundary conditions? E.g., what alignment of the
parameters did of use during the tests, etc.
> strncmp, however, can perform a tad slower for some tiny blocks, but is faster, up to several times, for blocks 16 bytes long or larger.
But the strings passed to strncmp during normal operation are in 99% of
all cases <= 16 chars. I have data to prove that. The fact that you
gloss over this problem means you haven't done your homework. You are
optimizing for the wrong use cases.
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060502/f6560596/attachment.sig>
More information about the Libc-alpha
mailing list