• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScriptObjC -- List Folder Handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: AppleScriptObjC -- List Folder Handler (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: AppleScriptObjC -- List Folder Handler
  • Next by Date: Re: AppleScriptObjC -- List Folder Handler
  • Previous by thread: Re: AppleScriptObjC -- List Folder Handler
  • Next by thread: Re: AppleScriptObjC -- List Folder Handler
  • Index(es):
    • Date
    • Thread