Pre-Allocate Array Custom Struct with Zeroed Values

I think it is generally better to keep it immutable and redefine the structures in the desired positions (the vector as whole is mutable).

1 Like