
15 May
2009
15 May
'09
4:23 p.m.
Mathias Gaunard wrote:
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.
Faster for what? Have you benchmarked it? I think my UTF-8 code is fast. I would enjoy the challenge of demonstrating that. But the "for what" question must be answered first. Phil.