Create an empty array with a given capacity.

Property definitions

core $ Array :: with_capacity
	# Create an empty array with a given capacity.
	init with_capacity(cap: Int)
	do
		assert positive: cap >= 0
		_items = new NativeArray[E](cap)
		_capacity = cap
		_length = 0
	end
lib/core/collection/array.nit:433,2--440,4