* @brief Compares two strings lexicographically. If prefix matches, lengths are compared. * @return 0 if equal, negative if `*this` is less than `other`, positive if `*this` is greater than `other`. */
| 1988 | * @return 0 if equal, negative if `*this` is less than `other`, positive if `*this` is greater than `other`. |
| 1989 | */ |
| 1990 | int compare(string_view other) const noexcept { return (int)sz_order(data(), size(), other.data(), other.size()); } |
| 1991 | |
| 1992 | /** |
| 1993 | * @brief Compares two strings lexicographically. If prefix matches, lengths are compared. |