• 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: Dumb performance question: tell blocks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dumb performance question: tell blocks


  • Subject: Re: Dumb performance question: tell blocks
  • From: Walter Bushell <email@hidden>
  • Date: Sun, 18 Mar 2007 11:45:01 -0400


On Oct 17, 2006, at 2:27 PM, Mark J. Reed wrote:

On 10/17/06, Christopher Nebel <email@hidden> wrote:
That depends on what you mean by "built-in". This is more subtle than
you might imagine. The rule is: if it sends an event, it'll get sent
to the "tell" target, which either handles it or it doesn't.

Thanks.

And don't forget: don't bother trying to optimize something until you're dissatisfied with
how fast it runs.

Absolutely. I just like to avoid doing things that are massively inefficient if I can avoid it, just in case things where it doesn't matter now wind up scaling later (yeah, i know, You Ain't Gonna Need It...)

Thanks again for the insight.


-- Mark J. Reed <email@hidden>

Sometimes simple optimizations can make debugging go faster. Making sure that OSXEN are not called inside a "tell" statement can result in speedup of 100 times, making an overnight run into a 5 or 10 minute run, thus being able to find weird cases more easily.


_______________________________________________ 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
  • Prev by Date: Re: System Events scripting of Finder window
  • Next by Date: AppleScript documentation solved
  • Previous by thread: Re: Can you run Ruby Scripts via get shell?
  • Next by thread: AppleScript documentation solved
  • Index(es):
    • Date
    • Thread