3 ms·
> There's no fixed-width/non-allocating way to return a grapheme (unless one can return a slice into the original data, which cannot happen here) I take it's n
by saagarjha 8y ago
> There's no fixed-width/non-allocating way to return a grapheme (unless one can return a slice into the original data, which cannot happen here)
I take it's not possible to return a pointer into the data because normalization is being performed?
- dbaupp 8y agoYeah, normalising and case folding will both potentially result in a new sequence of graphemes (and code points and code units), so slicing can't work.