• 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: Creating a series of sequenced files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a series of sequenced files


  • Subject: Re: Creating a series of sequenced files
  • From: Quincey Morris <email@hidden>
  • Date: Sat, 16 Apr 2016 15:40:54 -0700
  • Feedback-id: 167118m:167118agrif8a:167118sQeEngraHv:SMTPCORP

On Apr 16, 2016, at 15:29 , Carl Hoefs <email@hidden> wrote:
>
> I have potentially n different ongoing sequences, so it seems like this approach could end up hitting the filesystem really hard


One enumeration per candidate directory shouldn’t be inefficient. That’s the order of magnitude of what the Finder does to open a window.

If necessary, you can do a single directory enumeration hierarchically from the common ancestor directory of all the files, skipping subdirectories that don’t contain possible sequences. That’s the minimum setup you can do, if the per-enumeration setup is too expensive.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Creating a series of sequenced files (From: Carl Hoefs <email@hidden>)
 >Re: Creating a series of sequenced files (From: Quincey Morris <email@hidden>)
 >Re: Creating a series of sequenced files (From: Carl Hoefs <email@hidden>)
 >Re: Creating a series of sequenced files (From: Quincey Morris <email@hidden>)
 >Re: Creating a series of sequenced files (From: Carl Hoefs <email@hidden>)

  • Prev by Date: Re: Creating a series of sequenced files
  • Next by Date: SASL on OS X
  • Previous by thread: Re: Creating a series of sequenced files
  • Next by thread: Re: Creating a series of sequenced files
  • Index(es):
    • Date
    • Thread