Boost logo

Boost :

Subject: Re: [boost] [rfc] Unicode GSoC project
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2009-05-15 12:23:31


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk