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 protected]) 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 [email protected]
