Re: new to memory mgmt
Re: new to memory mgmt
- Subject: Re: new to memory mgmt
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Sun, 15 Feb 2004 14:59:34 -0600
pmcurry, email@hidden, wrote:
>
I thought I had read somewhere that NSAutoreleasePools were expensive
>
so I've been trying to only use them in a situation where I create an
>
object within a function that I want to use as the return value.
NSAutoreleasePools aren't free. After your program is working, and
profiling points to chunk of code whose hotspot is usage of
NSAutoreleasePool, then you should optimize that case.
| Jonathan 'Wolf' Rentzsch
http://rentzsch.com
| Red Shed Software
http://redshed.net
| "better" necessarily means "different"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.