[fpc-pascal] string concatenation speed

Marco van de Voort marcov at stack.nl
Tue Jun 21 20:44:31 CEST 2005


> 
> So in general reserving buffer space and copying all string in and
> finally setting the length would be the way to go here, if I understand
> correctly.

Yes, and avoid repeated use of stringlist[x]. First assign to a local var,
then use for length() and normal use, as Michael already noted.
 




More information about the fpc-pascal mailing list