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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to