2 ms·
> Consider you have to split a string with 20 flags in sequence at a given offset. That's 40 codepoints with no readily discernible boundaries. So consider tha
by masklinn 5y ago
> Consider you have to split a string with 20 flags in sequence at a given offset. That's 40 codepoints with no readily discernible boundaries.
So consider that you have [a really bad idea], it’s not convenient?
You do realise essentially the same issue occurs if you have a stack of diacritics right?
- kevin_thibedeau 5y agoNo it doesn't. You aren't forced to scan backwards.