Eigenpoll : D wish list : Efficient array opCatAssign 

It would be nice if dynamic arrays used an internal doubling scheme when being resized, so that:

auto v = [1, 2, 3];
v ~= 4; v ~= 5; v ~= 6;

doesn't result in three reallocations of the array.

Report this item for cleanup