Final by default?

Steven Schveighoffer schveiguy at yahoo.com
Thu Mar 13 06:35:29 PDT 2014


On Thu, 13 Mar 2014 09:17:06 -0400, Daniel Murphy  
<yebbliesnospam at gmail.com> wrote:

> "Steven Schveighoffer"  wrote in message  
> news:op.xcnu55j2eav7ka at stevens-macbook-pro.local...
>
>> > The worst breaking change in D2, by far, is the prevention of array >  
>> stomping.
>>
>> What is your use case(s), might I ask? Prevention of array stomping, I  
>> thought, had a net positive effect on performance, because it no longer  
>> has to lock the GC for thread-local appends.
>
> I would guess they're setting length to zero and appending to re-use the  
> memory.

Are they using assumeSafeAppend? If not, totally understand. If they are,  
then I want to fix whatever is wrong.

-Steve


More information about the Digitalmars-d mailing list