Re: Setting based 1 Arrays
- From: Tom Shelton <tom_shelton@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 05 May 2009 05:08:23 -0700
On 2009-05-05, Michael C <mike@xxxxxxxxxx> wrote:
"Tom Shelton" <tom_shelton@xxxxxxxxxxxxxxxxxx> wrote in message
news:%233EBssSzJHA.4412@xxxxxxxxxxxxxxxxxxxxxxx
Under the covers List(Of T) and ArrayList are simply arrays. They just
resize
their selves as they grow in an intelligent fashion.
Are you saying if I insert an element at the bottom of a million item List
then it will just copy a huge array up 1 element? Yikes!
That's exactly what it would do. It pays to look at the performance
characteristics of a collection before you use it.
--
Tom Shelton
.
- Follow-Ups:
- Re: Setting based 1 Arrays
- From: Mike
- Re: Setting based 1 Arrays
- References:
- Re: Setting based 1 Arrays
- From: Tom Shelton
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Herfried K. Wagner [MVP]
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Herfried K. Wagner [MVP]
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Herfried K. Wagner [MVP]
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Mike
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- From: Tom Shelton
- Re: Setting based 1 Arrays
- From: Michael C
- Re: Setting based 1 Arrays
- Prev by Date: Re: Setting based 1 Arrays
- Next by Date: Re: Datagridview delete rows
- Previous by thread: Re: Setting based 1 Arrays
- Next by thread: Re: Setting based 1 Arrays
- Index(es):
Relevant Pages
|