Re: Getting record items of a sublist
Re: Getting record items of a sublist
- Subject: Re: Getting record items of a sublist
- From: Shane Stanley <email@hidden>
- Date: Tue, 01 Nov 2011 13:04:26 +1100
On 01/11/2011, at 11:40 AM, Stan Cleveland wrote:
Of course, one would expect an osax to be faster than a call to do shell script.
FWIW, I suspect the time Alex's test takes is more to do with what it *uses/does* in the shell than the overhead of the call to do shell script itself, which takes much less time than the figures Chris and Alex have posted. I did a test calling out to an app for comparison:
script getInterval return current application's NSDate's timeIntervalSinceReferenceDate() end script
tell application "ASObjC Runner" set myResult to run the script {getInterval} with result returned set myNewResult to run the script {getInterval} with result returned end tell set myAnswer to (myNewResult - myResult) log myAnswer
On my iMac, that gives times around 0.0011 seconds in ASE.
-- 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