On Apr 16, 2016, at 15:29 , Carl Hoefs <newsli...@autonomy.caltech.edu> 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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com