Re: AC_FUNC_MEMMEM

2008-01-08 Thread Bruno Haible
Peter Miller wrote: > yes, I was missing something subtle. > The attached patch adds comments to explain it to me. Thanks for suggesting this. Comments about a functions calling convention should be at the function's definition, not where it is called, therefore I'm applying this: 2008-01-08 Br

Re: AC_FUNC_MEMMEM

2008-01-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [re-adding bug-gnulib; this patch does not make sense for memmem.c, since it no longer uses knuth_morris_pratt, but might still be useful for str-kmp.h] - Original Message On Tue, 2008-01-08 at 11:15 +1100, Peter Miller wrote: | Or

Re: AC_FUNC_MEMMEM

2008-01-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [adding bug-gnulib] According to Peter Miller on 1/7/2008 5:15 PM: | On Sat, 2008-01-05 at 21:51 -0700, Eric Blake wrote: |> glibc 2.6.1 is quadratic, gnulib is linear. For worst-case scenarios, |> gnulib's implementation is hands-down better, altho