Re: AppleScriptObjC -- List Folder Handler
Re: AppleScriptObjC -- List Folder Handler
- Subject: Re: AppleScriptObjC -- List Folder Handler
- From: Shane Stanley <email@hidden>
- Date: Sun, 02 Dec 2018 12:38:43 +1100
On 2 Dec 2018, at 11:42 am, Nigel Garvey <email@hidden> wrote:
> It can be speeded up considerably for large folders by fetching the keys with
> the URLs
Maybe our definitions of large differ, but my tests with about 150 items only
showed a difference of maybe 10%, if that. Worth taking, sure, but I don't know
that I'd call it considerable.
Mind you, timing this stuff is tricky because of OS caching.
> and a bit more by building theNames as an NSMutableArray:
Interestingly that's slower here, which matches my recollection of using
NSMutableArray instead of a list. How big is your test folder? Maybe that comes
into play.
(I'm doing multiple runs in Script Geek.app.)
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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