Changes between Version 1 and Version 2 of IncreasingSizeOfDynamicArrayExample
- Timestamp:
- 02/10/06 07:48:40 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IncreasingSizeOfDynamicArrayExample
v1 v2 5 5 == Description == 6 6 7 You can't use "r.length++;" to increase the size of a dynamic array.7 You can't use "r.length++;" or "r.length += 5" to increase the size of a dynamic array. Also, there is still overhead when resizing an array, guessing a needed size would be better. 8 8 9 9 == Example == 26 26 } 27 27 }}} 28 29 == Source ==30 31 || Link || http://www.dsource.org/tutorials/index.php?show_example=79 ||32 || Posted by || jcc7 ||33 || Date/Time || Fri May 14, 2004 9:49 pm ||