Re: Framework 2.0 array redim unsatisfactory performance
- From: "Tom Jastrzebski" <tom@xxxxxxx>
- Date: Tue, 09 Aug 2005 03:53:59 GMT
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
.
- Follow-Ups:
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Jay B. Harlow [MVP - Outlook]
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Mattias Sjögren
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Cor Ligthert [MVP]
- Re: Framework 2.0 array redim unsatisfactory performance
- References:
- Framework 2.0 array redim unsatisfactory performance
- From: Tom Jastrzebski
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Jay B. Harlow [MVP - Outlook]
- Framework 2.0 array redim unsatisfactory performance
- Prev by Date: Combobox / Display Member / SQL Question
- Next by Date: Re: Listview: How to know which column has been selected
- Previous by thread: Re: Framework 2.0 array redim unsatisfactory performance
- Next by thread: Re: Framework 2.0 array redim unsatisfactory performance
- Index(es):