[RESOLVED] [2005] Array Sizes
Hello All,
Just a general question on the size of arrays.
What is better, one very large array or several smaller ones. In one section of my program I have four arrays of varying sizes. If I combine them together I end up with an array some 48 rows by 52 columns.
Best Rgds,
Tarablue
Re: [RESOLVED] [2005] Array Sizes
There is a situation where one big array is better than a bunch of small ones, but it doesn't apply to VB.NET. In a language such as C, you could use pointer arithmetic to rapidly move thing around, and work with the array. Since you don't have pointers in VB.NET (officially, anyways), that doesn't apply. For that matter, array items in VB.NET may not even be stored in contiguous memory blocks, which would invalidate pointer arithmetic anyways.