Graeme Geldenhuys schrieb: > On Fri, Sep 26, 2008 at 9:04 AM, Graeme Geldenhuys > <[EMAIL PROTECTED]> wrote: >> So has anybody actually done a timing comparision? Do you have your >> test code available? Do you have your results published? I'm >> interested to see the timing results using different hardware. > > > What I'm getting at, is that if FPC implements a UnicodeString based > on UTF-16, compared to UTF-8. It would be nice to base that decision > on educated research and not just a hunch that UTF-16 will be faster > on 1 of the 11 officially supported platforms.
Being honest, imo UTF-8 is only a hack to get unicode on platforms like unix. Further, processing UTF-16 is much easier, for a lot of applications faster and for important encodings like chinese more memory efficient. If UTF-8 was easy to handle, we wouldn't have to convert everything to UTF-32 on unix to do case conversations, comparisations etc. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
