Re: Overhead in Using Run Script in a Loop ???
Re: Overhead in Using Run Script in a Loop ???
- Subject: Re: Overhead in Using Run Script in a Loop ???
- From: Shane Stanley <email@hidden>
- Date: Sun, 04 Mar 2012 11:44:40 +1100
On 04/03/2012, at 2:06 AM, Axel Luttgens wrote:
> An additional one: each invocation of "run script" in the above potentially results in reading the script's file from disk and creating a separate execution context. So, yes, there should be some overhead...
True -- although there might also be some advantages in terms of memory use, especially if the scripts are large and being called from the top level of the main script.
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
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