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.

Regards,
Graham
--

Reply via email to