• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Silly question?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Silly question? (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Coerce time
  • Next by Date: PlainTalk-J
  • Previous by thread: Re: Silly question?
  • Next by thread: combining Applescript and CLI/cron jobs
  • Index(es):
    • Date
    • Thread