Re: Get size of folder
Re: Get size of folder
- Subject: Re: Get size of folder
- From: Charles Srstka <email@hidden>
- Date: Wed, 19 Aug 2009 04:47:16 -0500
On Aug 19, 2009, at 4:24 AM, Alastair Houghton wrote:
As I think I may have mentioned before, contrary to apparently
widespread opinion, Carbon isn't magic. The Carbon file manager
APIs are based on BSD APIs, and calling the BSD APIs in question is
going to be faster if you really need high performance because they
don't have to map things to the Carbon API's data structures and
back again.
I *knew* I'd read somewhere that this wasn't true - that the Carbon
file manager doesn't use the same opendir() / readdir() APIs that
you'd use if you were doing this the BSD way, 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:
http://www.cocoabuilder.com/archive/message/cocoa/2004/4/3/103325
http://www.cocoabuilder.com/archive/message/cocoa/2004/4/3/103327
Have things changed in this regard in the intervening years since 2004?
Charles
_______________________________________________
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