• 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: Why Slow Then Fast
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why Slow Then Fast


  • Subject: Re: Why Slow Then Fast
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 08 Sep 2010 08:35:10 +1000
  • Thread-topic: Why Slow Then Fast

On 8/9/10 3:51 AM, "Luther Fuller" <email@hidden> wrote:

> I have a script that I run from time to time. It takes about 60 sec to
> complete.
> If I immediately run it again, the script completes in 8 sec.
> Why?

That's hard to know without knowing what handlerCalledByMe() is doing. For
example, if it's reading a large file, the file could be cached. If it's
talking to System Events, it may need to launch the app the first time.

But if you're worried about speed, using Finder properties to parse a path
rather than something like text item delimiters seems a poor choice.

--
Shane Stanley <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

  • Follow-Ups:
    • Re: Why Slow Then Fast
      • From: Luther Fuller <email@hidden>
    • Re: Why Slow Then Fast
      • From: "email@hidden" <email@hidden>
References: 
 >Why Slow Then Fast (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: InDesign Server speed?
  • Next by Date: Re: InDesign Server speed?
  • Previous by thread: Re: Why Slow Then Fast
  • Next by thread: Re: Why Slow Then Fast
  • Index(es):
    • Date
    • Thread