• 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: Directory Enumeration in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Directory Enumeration in Cocoa


  • Subject: Re: Directory Enumeration in Cocoa
  • From: Rosyna <email@hidden>
  • Date: Fri, 18 Oct 2002 15:40:08 -0700

Ack, at 10/18/02, Chris Parker said:

Was this on a local volume or on a network/UFS volume? If the latter, I'm surprised that the BSD and Carbon iterations would have the identical count, as the BSD iteration will pick up ._ files, while the Carbon one will not.

HFS+ volume. It's local (my boot partition)

I'd be interested to know what the filenames in the target directory looked like - if you don't feel comfortable posting them to the list, please send them to me directly.

It's just the Applications folder.

Maybe 25 is a constant. Here are the results for a virgin 10.2 Aug dev tools /Developer folder on HFS+ and local.

BSD Directory Read: 28523 files
Carbon FSGetCatalogInfoBulk iteration: 28523 files
Cocoa Directory Enumerator: 28498 files

I'll gladly send the code for the other iterations if need be (to anyone that asks.)

BSD Directory Read took: 3s: 842ms for 28523 files
Carbon FSGetCatalogInfoBulk iteration took: 6s: 233ms for 28523 files
Cocoa Directory Enumerator took: 24s: 704ms for 28498 files
--


Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug

Unsanity: Unsane Tools for Insanely Great People
---

Please include any previous correspondence in replies, it helps me remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Directory Enumeration in Cocoa
      • From: Scott Anguish <email@hidden>
References: 
 >Re: Directory Enumeration in Cocoa (From: Chris Parker <email@hidden>)

  • Prev by Date: Re: Directory Enumeration in Cocoa
  • Next by Date: Re: How to avoid a Windows interface on OS X?
  • Previous by thread: Re: Directory Enumeration in Cocoa
  • Next by thread: Re: Directory Enumeration in Cocoa
  • Index(es):
    • Date
    • Thread