Re: Custom zones...
Re: Custom zones...
- Subject: Re: Custom zones...
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 11 Aug 2010 10:37:53 -0500
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 (email@hidden)
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:
This email sent to email@hidden