>This
 is with gcc 4.9.2-7 and glibc 2.19-17 on Debian amd64. The difference 
is still there for me when compiling with your CFLAGS. Have they 
improved memchr in glibc 2.20?
Doesn't gcc inline memchr() if the signature matches and you have not specified 
-fno-builtin?  Is the slow memchr() a gcc issue or a glibc issue?
https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html   William
                                                  

Reply via email to