Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== QTIPS - Fast Dynamic Array Building===== ^Published By^Date^Version^Knowledge Level^Keywords^ |Sprezzatura Ltd|01 JAN 1993|3.01+|EXPERT|DYNAMIC, ARRAY| Just in case there are developers who still use angle brackets instead of string concatenation operators to build up a dynamic array (perhaps because of their slightly improved aesthetic appeal), be aware that although the < -1 > syntax is easy and convenient to use, it can be up to TWENTY or THIRTY times slower than direct string concatenation, especially when used to construct a dynamic array in a loop. Since the < -1 > syntax can be used to insert values into the centre of a larger array, it always finds the position to insert at by counting delimiters on every iteration. This results in the spectacular performance difference witnessed when the array itself is large. (Volume 4, Issue 8, Page 14) tips/revmedia/v4i8a12.txt Last modified: 2024/06/19 20:20by 127.0.0.1