> On 05/08/2010, at 11:12 PM, Jean-Daniel Dupas wrote: > >> Probably not faster, but cleaner IHMO:
Actually, I suspect it is faster. All function invocations are direct rather than indirected through a pointer. This is faster in and of itself and also allows the compiler to recognize the recursion and optimize it. Of course, measuring of the performance or inspection of the generated assembler is the only way to be sure. Regards, Ken _______________________________________________ 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