The following video briefly explains the concept of array pre-allocation. See this blog-post for more information about pre-allocation.
<iframe width="600" height="450" src="//www.youtube.com/embed/iSVEN_feRKA?rel=0" frameborder="0" allowfullscreen></iframe> |