This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: [PATCH] improve string find algorithm


On 06/01/17 14:34 -0600, Aditya Kumar wrote:
Thanks for the correction and updating the comments.

Could you try the corrected patch on your benchmarks?

The performance with the patch is worse for the first string::find
benchmark in our testsuite:

 s = "aabbaabbaaxd adbffdadgaxaabbbddhatyaaaabbbaabbaabbcsy";
 f = "aabbaabbc";
 s.find(f);


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