Re: [PATCH v2] Improve performance of strstr

Wilco Dijkstra <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <DB5PR08MB103099183C858AFED961CF6783F80@DB5PR08MB1030.eurprd08.prod.outlook.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.