Faster string concatenation?
Posted on 2014-04-05
Dear Experts, my app manipulates a lot of text strings and by using a line profiler program, I see that a good portion of time is on a couple of key lines in my program that do the string concatenation operation:
str1 := str1 + str2;
I already use FastMM4 in my project and my understanding is that it does help to speed up string operations... but is there any component or unit that would do a more efficient/faster string concatenation?
P.S: For that matter, the string "Delete" procedure seems to be a bit of a bottleneck for me too. As does the "StringReplace" function.