fn utf16_len(s: &str) -> usize
Number of UTF-16 code units in s. ASCII-only fast path returns the byte length; non-ASCII walks chars and sums len_utf16.
s
len_utf16