httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: [RFC] speedup some tests in httpd
Date Sun, 12 Feb 2012 21:50:45 GMT
On 12 Feb 2012, at 9:59 AM, Christophe JAILLET wrote:

> I also made some measurement.
> The version with the test against *l is faster ONLY when the string to scan is EMPTY.
In this case it is more or less 50% faster to completely avoid the call to isspace.
> In ALL other cases, removing the first test is about 15% faster.
> I have spotted more or less 20 of these in the code and I could provide a patch in bugzilla
to remove these useless tests if you think it is useful.

Definitely, +1.


View raw message