On Dec 7, 2011, at 4:57 AM, Ken Thomases wrote: > On Dec 6, 2011, at 8:01 PM, Steve Sisak wrote: >> Given that operations have much shorter lifespan than threads, I'd worry >> about the leaked NSAutoreleasePool objects in a long-running application. > > When using Cocoa, exceptions should be, well, exceptional. They should not > be used for flow control. They should only occur for programmer error, and > you should strive to eliminate them before deployment. There should be no > reason to be concerned about an accumulation of autorelease pool objects due > to numerous exceptions because there shouldn't be numerous exceptions.
Except if you're working with Distributed Objects, of course. Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." _______________________________________________ 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