Re: Framework 2.0 array redim unsatisfactory performance
- From: Mattias Sjögren <mattias.dont.want.spam@xxxxxxxx>
- Date: Tue, 09 Aug 2005 09:49:14 +0200
Tom,
>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.
No, List(Of T) is backed by a simple array, it's not a linked list.
There's no per-item overhead, not sure how your tests could indicate
that.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.
- Follow-Ups:
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Tom Jastrzebski
- 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]
- Re: Framework 2.0 array redim unsatisfactory performance
- From: Tom Jastrzebski
- Framework 2.0 array redim unsatisfactory performance
- Prev by Date: XslTransform return InnerText
- Next by Date: Mime encode string
- Previous by thread: Re: Framework 2.0 array redim unsatisfactory performance
- Next by thread: Re: Framework 2.0 array redim unsatisfactory performance
- Index(es):
Relevant Pages
|