On Sat, 11 Jun 2005, Daniël Mantione wrote:
>
>
> Op Sat, 11 Jun 2005, schreef Michael Van Canneyt:
>
> > That is why I use pchar and one uniquestring;
> > It prevents all these automated uniquestring calls.
>
> Isn't it a better idea to build a new string, i.e. we setlength result and
> copy characters either modified or unmodified? That'll save an unnecessary
> copy of the string.
The Delphi routine does this, but when compiled with FPC, it runs slower.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel