Re: Setting based 1 Arrays

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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
.



Relevant Pages

  • Re: Setting based 1 Arrays
    ... 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 ...
    (microsoft.public.dotnet.languages.vb)
  • Re: calling my custom function same as library function
    ... group erroneous articles will rapidly get corrected, ... There is nothing rude in saying "we don't know, ... the broken "Reply" link at the bottom of the article. ...
    (comp.lang.c)
  • Re: Bad news for the Bulls
    ... Too bad the bottom is getting lower and lower. ... Almost everyone is saying this is the bottom. ... "People buying gold at skyrocket prices are a lot of suckers." ...
    (misc.invest.stocks)
  • Re: Desktop display
    ... Are you saying that Desktop shortcuts no longer work. ... Alternatively are you saying the Taskbar (bottom left) or Notification Area icon are no longer there or are not working? ... but the desktop tab functions (where you can browse ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Firefox 3 RC1
    ... I remember wondering what a widget was then as I hadn't heard ... "Look at the bottom right of your MacSOUP window. ... See the resize ...
    (uk.comp.sys.mac)