In python a common performance tip for joining many strings together is to use the join method. So, for example, instead of
"a" + "b" + "c"
use
''.join(["a","b","c"]).
The idea is to avoid creating temporary objects that are immediately thrown away. It's obviously overkill for such a small number of strings, though.

Is there any equivalent method/advice when concatenating many strings together in D?

Reply via email to