16 May
2009
16 May
'09
12:25 a.m.
I don't plan on supporting random access for UTF-16. UTF-16 is still faster than UTF-8 because UTF-8 requires more complex decoding. UTF-16 has only two cases, making it easier to optimize branches under the likely and unlikely case.
Dear Mathias, Don't forget surrogates ! Yours, Graham