Re: Framework 2.0 array redim unsatisfactory performance

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.
.



Relevant Pages

  • Re: List box setup, placement, and functionality
    ... > get down to the 4th or 5th entry, only a few numbers remain in the box. ... I prefer to answer queries through the newsgroup. ... Ed Ferrero ... Prev by Date: ...
    (microsoft.public.excel.newusers)
  • Re: YAAP: Tara-Mon-Hum-Fem-Neu, vegetarian, weaponless
    ... I just searched this newsgroup for previous wins and found that I ... had a score of 6,305,544 for a Priestess in version 3.3.1. ... Surprise! ... Prev by Date: ...
    (rec.games.roguelike.nethack)
  • Re: Is vs IsAssignableFrom to detect and interface
    ... variable, i.e. System.Type, implements InterfaceType. ... Why does that surprise you`? ... Please reply only to the newsgroup. ... Prev by Date: ...
    (microsoft.public.dotnet.framework)
  • Viewing All Messages In Newsgroup
    ... I would like to view all the messages in a newsgroup, i have my view set to ... and my synchronization set to 'All Messages'. ... there is a entry ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: colon cleanse
    ... a big surprise. ... You threatened to take a newsgroup discussion ... continuing on that threat and it may change. ... I think that most alt practices are ...
    (misc.health.alternative)