Big buffer allocation

When we don't need to zero the buffer, isn't this solution the most optimized?

It seems to do the same as vec![0; n] but without zeroing.

Moreover, vec! calls Vec::with_capacity and then Vec::reserve. Isn't that redundant?