bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memchr speed


From: Simon Josefsson
Subject: Re: memchr speed
Date: Tue, 29 Apr 2008 00:14:43 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Eric Blake <address@hidden> writes:

> Simon Josefsson <simon <at> josefsson.org> writes:
>
>> 
>> Eric Blake <ebb9 <at> byu.net> writes:
>> 
>> > I think it would be even simpler to just avoid intprops.h (after all,
>> > memchr.c was originally borrowed from glibc, which doesn't have
>> > intprops.h).
>> 
>> I like that.
>
> OK, I've done it for memchr, memrchr, strchrnul, and memchr2 (although the 
> latter is not in glibc, so that was only for consistency with the other 
> three).

Seems to work fine here.  (Although I don't know any system that doesn't
have memchr so I can't test that case fully...)

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]