On Monday, January 26, 2015 01:17:15 WhatMeWorry via Digitalmars-d-learn wrote:
> Ok, I just made up that word. But what is the difference between
> appending and concatenating? Page 100 of TPDL says "The result
> of the concatenation is a new array..." and the section on
> appending talks about p
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
Perfect! Thank yo
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 make
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
On Monday, 26 January 2015 at 01:17:17 UTC, WhatMeWorry wrote:
Ok, I just made up that word. But what is the difference
between appending and concatenating? Page 100 of TPDL says
"The result of the concatenation is a new array..." and the
section on appending talks about possibly needing expan
On Monday, 26 January 2015 at 01:17:17 UTC, WhatMeWorry wrote:
Ok, I just made up that word. But what is the difference
between appending and concatenating? Page 100 of TPDL says
"The result of the concatenation is a new array..." and the
section on appending talks about possibly needing expan
Ok, I just made up that word. But what is the difference between
appending and concatenating? Page 100 of TPDL says "The result
of the concatenation is a new array..." and the section on
appending talks about possibly needing expansion and reallocation
of memory.
But I still don't feel like