[fpc-devel] Unicode support (yet again)

Michael Schnell mschnell at lumino.de
Mon Sep 19 13:33:22 CEST 2011


On 09/19/2011 11:13 AM, Marco van de Voort wrote:
>
> No. IMHO the point has always been to find a sweet spot. Delphi is not
> Visual Basic. Delphi is native and fast.
Isn't this nicely provided by "new Strings" ?

If you are naive and just use them as you have been acquainted to at 
ANSI times, your programs might get slow when using MyString[i];

But if you want to speed things up you can either try to replace the 
MyString[i];by some more decent (and complex) iterator implementation or 
try to set the type of the strings in question (and if necessary convert 
them) to an appropriate ANSI variant.

-Michael



More information about the fpc-devel mailing list