Re: Directory Enumeration in Cocoa
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.