[fpc-pascal] string concatenation speed

Marc Santhoff M.Santhoff at t-online.de
Tue Jun 21 18:34:52 CEST 2005


Hi,

in an application of mine occurs a lot of string separation and
re-concatenation. Since it is using masses of ANSI strings this is some
performance problem.

The strings get stored and loaded from  TStringList's and concatenated
by simply using '+' and separated with the function copy().

What I'd like to know is: What's are fastest ways of handling ANSI
strings?

Since I'm not good at reading assembler code I have to ask ... and yes,
profiling is planned but not for tomorrow. ;)

TIA,
Marc






More information about the fpc-pascal mailing list