Re: Framework 2.0 array redim unsatisfactory performance



Jay,



Whether Integer or Long type is being used of course makes a difference.
However, my tests show that this difference is not that significant, and
still old good VB 6.0 performs way better.



The reason why I test Array is because I need a dynamic data structure with
as small memory overhead as possible.

My tests show that generic based List<> uses at least 5 additional bytes for
each entry. Not a surprise, most likely it is implemented as single-linked
list. In most applications it is not a concern, but in my cases it is.



Since dynamic array is not available in C# I was just wondering how
efficient this VB structure was before starting thinking about alternative
approaches using C++.



Thanks,

Tomasz


.