Spikes in array capacity
Ali Çehreli
acehreli at yahoo.com
Thu Jul 1 10:34:55 PDT 2010
Steven Schveighoffer wrote:
> On Thu, 01 Jul 2010 12:46:27 -0400, Ali Çehreli <acehreli at yahoo.com> wrote:
>
>> There is something strange in the array capacity algorithm.
...
>> length: 1153022 capacity: 1154045 ratio: 1.00089
>> length: 1154046 capacity: 1155069 ratio: 1.00089
>> length: 1155070 capacity: 3153917 ratio: 2.7305 <-- spike
>> length: 3153918 capacity: 3154941 ratio: 1.00032
>> length: 3154942 capacity: 3155965 ratio: 1.00032
> No, that is not intended. Please file a bugzilla against druntime.
http://d.puremagic.com/issues/show_bug.cgi?id=4412
Thanks,
Ali
More information about the Digitalmars-d
mailing list