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

Daniël Mantione daniel.mantione at freepascal.org
Fri Sep 26 10:55:30 CEST 2008



Op Fri, 26 Sep 2008, schreef Graeme Geldenhuys:

> On Fri, Sep 26, 2008 at 9:12 AM, Daniël Mantione
> <daniel.mantione at freepascal.org> wrote:
>>
>> For me the speed of input/output is less relevant, this is limited by disk
>> speed anyway. It's the speed of processing that should be decisive.
>
> That's highly dependant on what you application does!  If your
> application primarily parses text files, it's relevant. :-)

Shortstrings & ansistrings won't go away. You'll still be able to code 
fast text file parsers. Note that in such cases your application won't 
process unicode, taking the numbers example again: As soon as your 
application accepts arabic numbers everywhere western numbers are allowed, 
you want the parsing to happen in UTF-16.

Daniël


More information about the fpc-devel mailing list