This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH v2] Improve performance of strstr
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Cc: nd <nd at arm dot com>, "eblake at redhat dot com" <eblake at redhat dot com>
- Date: Thu, 18 Oct 2018 17:40:13 +0000
- Subject: Re: [PATCH v2] Improve performance of strstr
Hi,
Corinna wrote:
>>On Oct 3 11:44, Eric Blake wrote:
>
>> [1] https://git.savannah.gnu.org/cgit/gnulib.git/tree/tests/test-strstr.c
>
> Anybody going to run this test?
Yes I've ran it on v2 and v3, both pass and run quickly, ie. there is no non-linear
behaviour. The quadratic PREFER_SIZE_OVER_SPEED version does not pass
of course.
Wilco