Re: variables vrs properties
Re: variables vrs properties
- Subject: Re: variables vrs properties
- From: Alex Zavatone <email@hidden>
- Date: Wed, 05 Jan 2011 15:57:11 -0600
On Jan 5, 2011, at 3:49 PM, Shane Stanley wrote:
> On 6/1/11 5:25 AM, "Ed Stockly" <email@hidden> wrote:
>
>> A script must execute within another process. You run a script typically from
>> a script menu either in an application or from the system’s script menu.
>>
>> An Applet or Droplet works as its own application, even if you launch it from
>> a script menu.
>>
>> When you run a script you save the time it takes to launch applet as an
>> application.
>>
>> In many cases developers have optimized the processes involved in executing
>> scripts making them much faster. It’s often faster to run the same script from
>> the InDesign script menu than it is from the System Script menu.
>>
>> So depending on the context, scripts can execute either a little quicker or a
>> lot faster.
>
> The situation is complicated by the fact that the standard AS applet shell
> is very slow. You can wrap a script in a "run script", or use a simple
> AppleScriptObjC shell, and the difference in performance is like night and
> day.
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
That's the difference between being intrepreted (slow), tokenized (faster) and compiled (zippy).
_______________________________________________
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