Re: Silly question?
Re: Silly question?
- Subject: Re: Silly question?
- From: Shane Stanley <email@hidden>
- Date: Thu, 21 Aug 2003 10:49:43 +1000
On 20/8/03 11:17 PM +1000, John Delacour, email@hidden, wrote:
>
I take an empty string and at to it one by one the 1025 characters of a
>
message in Mail using two different routines.
>
>
The first routine takes 36 seconds, the second 0.7 seconds.
>
One big difference is that your first routine presumably calls on Mail each
time through the repeat (to resolve contents of c), whereas the second has
the contents in a variable so all work is done in AppleScript itself. That
was not the case in Paul's example, if I remember correctly.
>
This does not prove the point in queston because there are other factors
>
Exactly. Clearly resolving the references separately takes more time, but
I'm still not convinced that using "repeat with x in y" results in y
being resolved more than once.
--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.