[Bug libstdc++/66416] string::find_last_of 3.5 times slower than memrchr

hiraditya at msn dot com gcc-bugzilla@gcc.gnu.org
Tue Mar 24 17:19:53 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66416

AK <hiraditya at msn dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hiraditya at msn dot com

--- Comment #2 from AK <hiraditya at msn dot com> ---
Could it be because string::find is more optimized than string::rfind?
see: https://gcc.gnu.org/legacy-ml/libstdc++/2017-01/msg00034.html


More information about the Gcc-bugs mailing list