On Apr 27, 2010, at 1:57 PM, Jens Alfke wrote:

> That sounds like an optimization in the runtime to avoid a couple of 
> message-sends. You shouldn't override -retain or -release or make assumptions 
> about how many times they're called; those are implementation details.

Actually, you can override retain & release. If there's any optimization in the 
runtime to avoid multiple release calls, it must be only be enabled for objects 
that do not override release.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

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