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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to