Collection of high-level wrappers above ICU.
View over unicode characters inside any string-like thing.
Most programming languages, even with unicode support, fail to recognize flags and denormalized characters as single entities.
python:
C++:
Except, swift:
Main features of unicode::string_view
:
- Indexing over unicode characters (grapheme clusters), not codepoints
- O(1) time and memory overhead for ASCII strings
- O(1) size() complexity
- O(log n) operator[] complexity