Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
- Subject: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
- From: Charles Srstka <email@hidden>
- Date: Sat, 10 Apr 2004 02:34:16 -0500
On Apr 9, 2004, at 6:32 PM, Daniel Waylonis wrote:
Hi Alastair,
You might have better luck with fts() (man fts) on the Posix side. I
did some testing against FSGetCatalogInfoBulk() (the fastest) and found
that it was pretty close in performance.
Scanning "/Library/Developer":
fts 8675 Directories, 51908 files (7.8 sec - 13.9 sec)
FSGetCatalogInfoBulk 8674 Directories, 55678 files (2.9 sec - 3.3 sec)
(128 directory entries at a time)
Pretty close in performance? It looks like fts is taking anywhere from
2.6 to over 4 times as long. That's a bigger difference than what
Alastair posted between FSCatalogSearch and the BSD API's.
Charles
_______________________________________________
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.