Enhanced array appending

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Dec 23 06:17:32 PST 2009


grauzone wrote:
> Steven Schveighoffer wrote:
>> All,
>>
>> I created a new patched druntime that prevents array stomping and at 
>> the same time increases append performance for thread-local array 
>> appending.
>>
>> The patch is attached to bugzilla entry 3637. ( 
>> http://d.puremagic.com/issues/show_bug.cgi?id=3637 )
> 
> Nobody cares about it? (Except someone commenting in bugzilla, but 
> where's Andrei and Walter?)

The entire Phobos team discussed this change very thoroughly. We are all 
very excited about it.

> Also, what again were the arguments against adding a "capacity" field in 
> the slice struct to deal with the append problem?
> 
> I think Go does this.

But Go is unfinished. When they'll finish it, they'll remove the 
capacity field :o).

Stop being a curmudgeon and give us some love.


Andrei



More information about the Digitalmars-d mailing list