On 10/13/2011 04:27 AM, Hans-Peter Diettrich wrote:

I don't see a speed penalty in using UTF-16. In contrast to UTF-8 it
simplifies (and consequently speeds up) all string handling.

If doing code heavily doing GUI handling (such as the LCL in Lazarus) and the GUI's API is not UTF-16, all strings passing the API need to be converted. This will slow down things a lot.

So quite obviously projects like the LCL need to use a "variable" Type (either dynamic or static) throughout the complete code in some way.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to