Re: list-building performance
Re: list-building performance
- Subject: Re: list-building performance
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 2 Jun 2007 01:29:32 -0400
On 6/1/07, Nigel Redmon <email@hidden> wrote:
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..
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden