Pádraig Brady <p...@draigbrady.com> writes:

> +    /* The following is equivalent to:
> +         return memmem (s, strlen(s), c, csize);
> +       but faster for long S with matching UC near the start,
> +       and also memmem is sometimes buggy and inefficient.  */
>      switch (u8_uctomb_aux (c, uc, 6))

Don't we have an efficient memmem in gnulib that this code could use?

/Simon

Reply via email to