Re: Framework 2.0 array redim unsatisfactory performance

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



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

Thanks, I just did more research, and figured out that the underlying data
structure is actually more complicated, and that this structure is design
for performance rather then memory usage.

Tomasz


.



Relevant Pages

  • Re: variable shared by users
    ... > i do want this same array be available to all web users in their sessions. ... boxes, and a lot of other things, but without the overhead of the db, ... Prev by Date: ...
    (comp.lang.php)
  • Re: Text Script
    ... > more overhead than reading from an array as it is an in-memory operation. ... For small files this adds much overhead. ... >> Rewinding a file might indeed be instantaneous as you say, ... design time efficiency may be in the eye of the beholder - ...
    (microsoft.public.windows.server.scripting)
  • Re: Ada.Containers.Vectors - querying multiple elements
    ... there would be a distributed overhead. ... compilers store it separately. ... In order to be able to represent an array as ... so I don't think it would make sense to allow 'First to be an invalid ...
    (comp.lang.ada)
  • Re: Derived types and allocatable
    ... (snip on overhead for allocate on assignment) ... In order to do a whole array assignment at all you must ... where R does allocate on assignment. ...
    (comp.lang.fortran)
  • Re: High Memory Consumption of Classes and Arrays
    ... Only the array itself has overhead. ... memory as a reference type. ... > least consume 40 bytes of memory. ...
    (microsoft.public.dotnet.framework.performance)