This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: printing length in benchtests


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]