printing length in benchtests

Siddhesh Poyarekar siddhesh@redhat.com
Thu Feb 6 16:33:00 GMT 2014


On Thu, Feb 06, 2014 at 09:47:22PM +0530, Rajalakshmi Srinivasaraghavan wrote:
> Hi All
> 
> Should we print len instead of pos in the following 4 benchtests to
> interpret the output better?

Why would it be better?  When there is a match, it is the match
position that determines the exit from these functions.  The length
comes into the picture when there is no match.

So both would be useful to have in different cases IMO.

Siddhesh



More information about the Libc-alpha mailing list