Fastest Way to Append Multiple Elements to an Array

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 14 15:16:10 PST 2014


What's the fastest way to append multiple elements to an array?:

Either

     arr ~= e1;
     arr ~= e2;
     arr ~= e3;

or

     arr ~= [e1,e2,e3];

or some other trick?


More information about the Digitalmars-d-learn mailing list