Vec::with_capacity
Also written: with_capacity
Creates a `Vec` with room for a known number of items, so it allocates once instead of growing step by step.
Also written: with_capacity
Creates a `Vec` with room for a known number of items, so it allocates once instead of growing step by step.