Array.sizedNew

json.array.Array sizedNew(uint nElements) static nothrow

Creates a new array with n_elements slots already allocated.

Parameters

nElementsnumber of slots to pre-allocate

Returns

the newly created array