4 ms·
no, it's only for IO. It lead to way too much breakage if they changed how the string behaves. I generally like the idea to use UTF-8 strings, but if they didn
by exyi 5y ago
no, it's only for IO. It lead to way too much breakage if they changed how the string behaves.
I generally like the idea to use UTF-8 strings, but if they didn't want to break string indexing, the indexing would take O(str.length)...