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

Michael Schnell mschnell at lumino.de
Mon Sep 29 09:25:54 CEST 2008


> 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).

-Michael



More information about the fpc-devel mailing list