Louis Dionne 6faae130e4
[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
2024-06-11 16:55:56 -04:00
..
2023-12-18 14:01:33 -05:00
2024-06-07 13:20:15 -04:00
2023-12-18 14:01:33 -05:00
2023-12-18 14:01:33 -05:00
2023-12-18 14:01:33 -05:00
2023-12-18 14:01:33 -05:00
2024-04-25 09:32:35 -04:00
2023-12-18 14:01:33 -05:00
2023-12-18 14:01:33 -05:00