Re: rawmemchr usage

2009-05-26 Thread Simon Josefsson
Bruno Haible writes: > Eric Blake wrote: > >> +strtok_r: use rawmemchr for speed. >> +* lib/strtok_r.c (__rawmemchr): Use faster rawmemchr. >> +* modules/strtok_r (Depends-on): Add rawmemchr. >> ... >> Likewise, what about these other modules that only use strchr to find the >> termi

Re: rawmemchr usage

2009-05-26 Thread Bruno Haible
Eric Blake wrote: > + strtok_r: use rawmemchr for speed. > + * lib/strtok_r.c (__rawmemchr): Use faster rawmemchr. > + * modules/strtok_r (Depends-on): Add rawmemchr. > ... > Likewise, what about these other modules that only use strchr to find the > terminating byte of a known-termin

rawmemchr usage

2009-05-26 Thread Eric Blake
I did a quick audit of all uses of memchr, considering that there is a proposal to un-obsolete the memchr module now that we have identified glibc bugs in platform-specific implementations for two different platforms. The choice of whether to beef up the memchr module depends on whether or not