Arrays are sufficient for ArrayLists? Really??

Mehrdad wfunction at hotmail.com
Mon May 16 12:01:58 PDT 2011


Andrei:
> After you remove some elements from an array by using std.algorithm.remove, the array capacity stays the
same.

Sean:
> Removing and then appending one element to an array won't cause any allocations to occur.

How is that possible, though? (See the example in my response to Timon.)


More information about the Digitalmars-d mailing list