size The initial size of the array
Create an array with an initial size of
While arrays are automatically resized as necessary, it is more memory-efficient to only make arrays as large as necessary, if the final size of the array is known.
is equivalent to
Generally this is adequate - save the use of this function for the optimisation stage.
Signing in to our system allows you to post your contributions and vote on the contributions of others. It will also allow you to get extra perts like having your favorites in the cloud and having your persistent personal notes wherever you go. More will be added as we scale up our services.
By signing in to our system, you agree our Member Terms and Conditions
Sign-in with one of the following services
Please select a screen name for NET SOUP.