It's elegant for sizing your array, but not essential. PC's nowadays have enough memory that if you make a 2D float or double array of size 1,000 rows, (when the rows of data are always less than 600 rows of data), it's no big deal.
You can afford to be Mr. Christmas with your memory, sometimes.