[libc++] Simplify the definition of string::operator== (#95000)
Instead of hardcoding a loop for small strings, always call char_traits::compare which ends up desugaring to __builtin_memcmp. Note that the original code dates back 11 years, when we didn't lower to intrinsics in `char_traits::compare`. Fixes #94222
parent
f638f7b6
Please register or sign in to comment