DIP 1025--Dynamic Arrays Only Shrink, Never Grow--Community Review Round 1

Nicholas Wilson iamthewilsonator at hotmail.com
Tue Nov 12 00:13:10 UTC 2019


On Monday, 11 November 2019 at 21:34:39 UTC, Walter Bright wrote:
> On 11/11/2019 3:26 AM, Nicholas Wilson wrote:
>> The breaking changes are massive and not well argued for.
>> The suggested workaround of
>> 
>> 1) a = a ~ b;
>> 
>> in place of
>> 
>> 2) a ~= b;
>> 
>> is functional identical, thus any issues present in 2 are also 
>> present in 1.
>
> The point is making it obvious that the GC is being used, i.e. 
> it is intentional behavior.

and ~= doesn't? As noted elsewhere there is no safety issues with 
it because the GC will copy the slice or fill up available 
capacity. This entire line of reasoning is a non-sequiter.


More information about the Digitalmars-d mailing list