3 ms·
The problem IMHO is more not regressing on lots of already-written code which assumes O(1) indexing, and less a problem of principle.
by Veedrac 11y ago
The problem IMHO is more not regressing on lots of already-written code which assumes O(1) indexing, and less a problem of principle.
- Avernar 11y agoMost code works perfectly fine indexing bytes in a UTF-8 string. Anything that looks for stuff in the ASCII range such as parsers would not need to be changed. Python 3 already required all code to be looked over because of the string literal change so it wouldn't be much different.