Re: Applescript 201 - speed
Re: Applescript 201 - speed
- Subject: Re: Applescript 201 - speed
- From: Emmanuel LEVY <email@hidden>
- Date: Mon, 24 May 2010 20:43:05 +0200
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