Surely there must be an efficient way to append something to the end of a long
list--am I missing something?
Only the fact that doing this through properties is faster. If I
declare theList1 as a property the runtime drops by more than an order
of magnitude OMM: from 24 seconds to less than 1 second for your 2000
iterations. To get something measurable, I added a zero and did
20,000 iterations; that took 3 seconds. 50,000 iterations was also 3
seconds, 75000 11 seconds, and 100,000 took 28 seconds - so I had to
multiply the iteration count by 50 to slow it down to the level of the
propertyless version..