T[new]

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Aug 9 14:08:50 PDT 2009


bearophile wrote:
> Walter Bright:
>> Under the hood, a T[new] will be a single pointer to a library defined 
>> type. This library defined type will likely contain three properties:
> 
> I have another question: are there some performance penalities in using such arrays for normal random access operations?

One extra indirection, usually nearby.

Andrei



More information about the Digitalmars-d mailing list