• 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: Applescript 201 - speed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript 201 - speed


  • Subject: Re: Applescript 201 - speed
  • From: Tommy Bollman <email@hidden>
  • Date: Mon, 24 May 2010 20:53:02 +0200

Den 24. mai 2010 kl. 20.43 skrev Emmanuel LEVY:
>
> A short comment about a remark which might be confusing.
>
> On May 24, 2010, at 6:58 PM, Stockly, Ed wrote:
>
>> Many scripts can also be enhanced by optimizing for speed.  Someone
>> mentioned loops, that's probably the parts of scripts that have the most
>> inefficiency.
>
> I think this really means: it's better when you can avoid calling a command (from an application or an osax) in a loop.
>
> But AppleScript's loops in themselves are rather fast, it's not bad to use AppleScript loops.
>
> <duck>
> Also, with Smile's calljavascript (or Safari's do javascript) command you can run javascript scripts, and... er... I have to confess that, as far as I'm concerned, they are much faster than AppleScript, for instance when it comes to manipulate lists or strings.
>
> Oh, I mean much, much.
> </duck>
>
> Emmanuel
>
> _______________________________________________
> 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
>

<duck>
	do shell script command with unix sort too.
	<duck>
		There are a comparative study with timings somewhere in macscripter.net
	</duck>
</duck>

:-)
Best regards



Tommy Bollman
--------------------------------------------------------------------------------------------------
You will be advanced socially,
without any special effort on your part.

 _______________________________________________
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: Applescript 201 - speed (From: "Stockly, Ed" <email@hidden>)
 >Re: Applescript 201 - speed (From: Emmanuel LEVY <email@hidden>)

  • Prev by Date: Re: Applescript 201 - speed
  • Next by Date: Re: Applescript 201 - speed
  • Previous by thread: Re: Applescript 201 - speed
  • Next by thread: Re: Applescript 201 - speed
  • Index(es):
    • Date
    • Thread