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: Ondra Cada <email@hidden>
- Date: Sun, 11 Apr 2004 19:21:00 +0200
Hi,
On 10.4.2004, at 1:32, Daniel Waylonis wrote:
Carbon (using FSCatalogSearch) 54.9 seconds
Cocoa (using NSDirectoryEnumerator) 148.1 seconds
BSD (using opendir(), readdir() et al.) 129.1 seconds [...]
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)
Well, looks it's pretty quick. I perhaps kind of need something like
that in my next application, so let me please ask: has anybody here
already prepared a nice Cocoa wrapper of FSGetCatalogInfoBulk, or is it
up to me?
In the latter case, I would be grateful if you can send me the
FSGetCatalogInfoBulk and fts test code you have used: it would cost you
nothing, and it would save me some time diving into the Carbon/Posix
documentation ;)
TIA,
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.