On Aug 10, 2010, at 9:12 AM, Alastair Houghton wrote:

> That said, is the part about objects escaping zones really true for *NS*Zone? 
>  It's true for malloc zones, for sure, but the docs for NSRecycleZone say:
> 
>  Frees zone after adding any of its pointers still in use to the default zone.
>  (This strategy prevents retained objects from being inadvertently destroyed.)

Right -- I was talking about the historical, generic, use of NSZone.

> 
> which seems to imply otherwise.
> 
> You *are* just talking about *NS*Zone, right?  malloc zones are very useful 
> and I definitely don't want to see those go away (I'm thinking of a certain 
> million-plus node data structure we maintain that we'd have to go calling 
> free() a million or more times to release...)

Right.  Just NSZone.  Malloc zones aren't going anywhere.

b.bum

_______________________________________________

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