Getting the attributes of a file is a very fast operation provided you use the right calls; all of that information is in its catalog and should require at most one block read and at least a lookup in an OS-related cache. If you are accessing the file system across a network (I doubt it from your earlier info in which you said the user is dropping an image on your app or document), this could be a bit slower, but using the right API or info on a protocol stream should give you what you're needing. You might be looking at things from too high a level; consider a much lower-level solution if appropriate.
FYI, I've worked on a few backup and sync apps/processes and am pretty comfortable with file system bottlenecks both local and remote. -- Gary L. Wade http://www.garywade.com/ On 11/30/2013 2:47 AM, "Graham Cox" <graham....@bigpond.com> wrote: >It¹s also likely to be slow in itself - grabbing this sort of data from >the file system requires hitting the disk, possibly multiple times. _______________________________________________ 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