Reserve enough memory from the allocator to store n elements.
If the current capacity exceeds n nothing will happen.
If n exceeds the current capacity, an attempt to expand the
current array is made. If expand is successful, all the expanded
elements are default initialized to T.init. If the expand fails
a new buffer will be allocated, the old elements of the array will be
copied and the new elements will be default initialized to T.init.
Reserve enough memory from the allocator to store n elements. If the current capacity exceeds n nothing will happen. If n exceeds the current capacity, an attempt to expand the current array is made. If expand is successful, all the expanded elements are default initialized to T.init. If the expand fails a new buffer will be allocated, the old elements of the array will be copied and the new elements will be default initialized to T.init.