Difference between concatenation and appendation
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jan 25 18:01:57 PST 2015
On Monday, 26 January 2015 at 01:57:04 UTC, bearophile wrote:
> Laeeth Isharc:
>
>> I think concatenation and append are used as synonyms (the
>> same meaning is meant). a~=b or a=a~b
>
> a=a~b always allocates a new array, while a~=b sometimes
> re-allocates in place.
>
> Bye,
> bearophile
Thanks. That makes sense.
More information about the Digitalmars-d-learn
mailing list