array.reserve [method]

array.reserve( int capacity )

reserves the space for the requested number of elements in the array, returns the array for chaining

a = [ 5, 6, 7 ];
a.capacity( 1 ); // nothing happens
a.capacity( 5 ); // a.capacity = 5 and two variable additions can now happen without reallocations