Fastest way to append char to string?

Chopin robert.bue at gmail.com
Tue Dec 11 07:52:30 PST 2012


Is this the fastest way to append a char to string?

char c = 'a';
string s;
s ~= c;

?

I have a program that does this many many times... and it's slow. 
So I was wondering it it could be it.

Thanks for tips!


More information about the Digitalmars-d-learn mailing list