• 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: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]


  • Subject: Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 11 Apr 2006 18:22:56 +0200

Will,

On 11.4.2006, at 18:14, Will Mason wrote:

There's also nothing wrong with using BSD calls: opendir(3), readdir (3), closedir(3). I'd be willing to bet (without empirical data) that those are actually the fastest of any of the proposed options.

In pure theory, Carbon should be faster (for it can exploit the fact its calls are HFS-native, whilst posix has to be at least one level higher).


In practice it might not be so--I haven't profiled them.

Anyway, myself, I would use the posix level only if truly needed for portability, but YMMV.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
      • From: Will Mason <email@hidden>
References: 
 >Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:] (From: Will Mason <email@hidden>)

  • Prev by Date: Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
  • Next by Date: Re: Size limit of NSData or NSFileHandle?
  • Previous by thread: Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
  • Next by thread: Re: SLOW -[NSFileManager directoryContentsAtPath:matchingExtension:options:keepExtension:]
  • Index(es):
    • Date
    • Thread