• 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: Get size of folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get size of folder


  • Subject: Re: Get size of folder
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 19 Aug 2009 11:26:09 +0100

On 19 Aug 2009, at 10:56, Jean-Daniel Dupas wrote:

and that someone had benchmarked Cocoa vs. Carbon vs. BSD, and Carbon came out on top. What I didn't remember was that it was you who did it:

The last time I saw this kind of benchmark, the BSD code were poorly implemented and did not use the proper functions. That's why it was slower.

FWIW, the benchmark Charles mentioned *wasn't* poorly implemented. It is just that enumerating *all* the files and folders on the disk is a special case where FSCatalogSearch() or the BSD searchfs() API will do extremely well on HFS/HFS+ because of the way the filesystem works.


Enumerating a subtree is a different operation.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Get size of folder (From: PCWiz <email@hidden>)
 >Re: Get size of folder (From: Charles Srstka <email@hidden>)
 >Re: Get size of folder (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Get size of folder (From: Charles Srstka <email@hidden>)
 >Re: Get size of folder (From: Alastair Houghton <email@hidden>)
 >Re: Get size of folder (From: Charles Srstka <email@hidden>)
 >Re: Get size of folder (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Get size of folder
  • Next by Date: Re: Get size of folder
  • Previous by thread: Re: Get size of folder
  • Next by thread: Re: Get size of folder
  • Index(es):
    • Date
    • Thread