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

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Sep 26 11:25:23 CEST 2008


On Fri, Sep 26, 2008 at 11:11 AM, Ivo Steinmann <ivo_steinmann at gmx.net> wrote:
>
> So in core, winnt is working with UTF16. All ANSI Winapi functions map
> to these winnt calls.

So then there is already a "conversion" going on. From ANSI api to
UTF16 api.  I still think (and will try and put together some
benchmark app over the weekend) that the conversion from
UTF8->UTF16->API call is going to be so small that it's hardly
something to talk about. Especially with todays CPU's.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the fpc-devel mailing list