[fpc-devel] Is calling the Windows Unicode APIs really faster than the ANSI API's?

Burkhard Carstens fpc at bcsoft.de
Mon Sep 29 09:56:51 CEST 2008


Am Montag, 29. September 2008 09:25 schrieb Michael Schnell:
> > The encoding can be important for speed:
> > For example the widestring xml parser is up to 10 times slower than
> > the ansistring xml parser.
>
> That obviously is the reason why Turbo - Delphi uses UCS-2 (16 bit)
> instead of OF UTF-8 or UTF-16 for WideStrings (and WideChar is a 16
> bit (UCS-2) value).

You didn't read  http://www.jacobthurman.com/?p=30 , did you?

regards
 Burkhard




More information about the fpc-devel mailing list