• 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: A question on technique
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question on technique


  • Subject: Re: A question on technique
  • From: "Stockly, Ed" <email@hidden>
  • Date: Wed, 18 Mar 2015 17:57:59 +0000
  • Thread-topic: A question on technique

On 3/18/15, 10:51 AM, "Christopher Stone" <email@hidden>
wrote:


>>There’s an extra command in the handler for Chris’ TID approach that
>>probably slows it down considerably. (see below)
>______________________________________________________________________
>
>Good catch Ed.
>
>I thought I'd deleted that line...

:)

You know, all of these scripts are pretty darn fast. We're talking about a
difference of fractions of a second over hundreds of iterations. In the
old days, some of these tests have taken appleScript hours to do. I've run
versions of the fastest doing 100,000s of repetitions, in a few seconds.

So, if this were my script, I'd probably go with whatever seemed the
easiest or most useful. That's why I like your lookup table the best. You
could maintain the lists in a numbers or excel document (or even a text
file). And save it as a tab-demited file that the script would import on
run. That means users would be able to maintain their own tables, without
ever having to open the script.

Plus, it seems in most tests it's the fastest, but I doubt that the speed
advantage would be noticeable to most users in most situations.

ES
>


 _______________________________________________
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


References: 
 >Re: A question on technique (From: Olof Hellman <email@hidden>)
 >Re: A question on technique (From: Shane Stanley <email@hidden>)
 >Re: A question on technique (From: "Stockly, Ed" <email@hidden>)
 >Re: A question on technique (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: A question on technique
  • Next by Date: Re: Timeout Not Working As Expected
  • Previous by thread: Re: A question on technique
  • Next by thread: Re: A question on technique
  • Index(es):
    • Date
    • Thread