Re: Applescript 201 - speed
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