#143472 - 2005-07-13 02:35 AM
Re: Automatic Array Resizing
|
It_took_my_meds
Hey THIS is FUN
   
Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
|
From the documentation for ReDim
Quote:
The values in the existing array are copied into the new array:
I believe the current way ReDim works is very inefficient. I understand there are methods where an array can be resized without requiring copying the entire contents of the old array into the new. This would be very processor intensive when you want to incrementally create a large array. The believe PUSH/POP methodology would make KiX much faster in dealing with such situations. It is not a big deal but it would be a nice feature.
|
|
Top
|
|
|
|
Moderator: Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 566 anonymous users online.
|
|
|