• 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: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: mathew <email@hidden>)
 >Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: Alastair Houghton <email@hidden>)
 >Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update") (From: Daniel Waylonis <email@hidden>)

  • Prev by Date: Re: NSBrowser headache
  • Next by Date: Re: NSBrowser headache
  • Previous by thread: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Next by thread: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Index(es):
    • Date
    • Thread