What should I use for concat string into array in loop?

Marc jckj33 at gmail.com
Tue Feb 13 01:58:42 UTC 2018


appender doesn't support string[] so in such case:

> string[] output;
> for(...) {
>    if(...) {
>      output ~= str;
>     }
> }

Looking for avoid as many immediate allocations as possible, what 
should I use?


More information about the Digitalmars-d-learn mailing list