If you're looking for the ultimate concatenation-tool:
Using Julians StringBuffer: 0.25s
Using NotesStream: 0.6s
Using NotesRichTextItem: 1.6s
A little while ago, I posted that NotesRichTextItem.AppendText is FAST.
On the train today home from work, I got an idea... Why not use a temporary NotesRichTextItem for string concatenation.
With 100.000 string concatenations, string = string + fourLetterString took about 140 seconds.
With NRTI.AT, it was finished in 1.6 seconds.. Read that again.. 100.000 concatenations in 1.6 seconds!
Simply do NRTI.GetUnformattedText to extract the concatenated string after you're done.
>> Download code