[fpc-devel] Patch to speed up Uppercase/Lowercase functions

Daniël Mantione daniel at deadlock.et.tudelft.nl
Sat Jun 11 19:15:34 CEST 2005



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.

Daniël





More information about the fpc-devel mailing list