Re: NSFileManager's odd behavior
Re: NSFileManager's odd behavior
- Subject: Re: NSFileManager's odd behavior
- From: Takaaki Naganoya <email@hidden>
- Date: Thu, 23 Jul 2015 17:22:14 +0900
> 2015/07/23 1:29、Axel Luttgens <email@hidden> のメール:
>
>> Le 22 juil. 2015 à 16:10, Takaaki Naganoya a écrit :
>>
>> Thank you, Shane. It works! (It was wrong with me :-)
>> By the way…there is other odd behavior for me. It is the *speed*.
>> I thought AS2 is faster than AS1. But in fact, AS1 is about two times faster than AS2.
>>
>> AS1: 2.793974995613 sec. (MacBook Pro Retina 2012, Core i7 2.6GHz)
>> AS2: 4.426485955715 sec. (MacBook Pro Retina 2012, Core i7 2.6GHz)
>>
>> […]
>
> Hello Takaaki,
>
> Execution speeds are quite similar here for both scripts (MacBook Air mid 2013, Core i7 1.7GHz, Mac OS X 10.10.4), about 6.5 secs with the ~/Desktop/test folder deleted before each trial.
> Yet with perhaps a slight speed advantage for AS2.
>
> Go figure… ;-)
> Axel
Hi Axel, thank you for your taking a makeup exam.
With Shane’s suggestion, speeds changes into almost even.
Now AS2+ is faster than AS1. I run testing scripts with folder deletion, of course.
I feel their speeds vary widely. I didn’t experience this with Finder and "do shell script”.
Using NSFileManager takes very interesting feelings for me.
--
Takaaki Naganoya
email@hidden
http://piyocast.com/as/
_______________________________________________
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