Re: Another autorelease question
Re: Another autorelease question
- Subject: Re: Another autorelease question
- From: Jerry Seeger <email@hidden>
- Date: Sat, 13 Sep 2003 09:40:58 -0700
The autorelease pool only manipulates objects that have been explicitly
placed in it, and only once.
Jerry
On Saturday, September 13, 2003, at 09:07 AM, Dave Riggle wrote:
I do a lot of string manipulations, then store the results in my
runtime database. E.g.:
_name = [[path lastPathComponent] retain];
I might have several thousand such strings retained for the duration
of my application. Is the autorelease pool going to look at these
objects every time through the run loop? If so, that seems
inefficient. Would I be better off copying the strings I want to
store?
Dave
_______________________________________________
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.
_______________________________________________
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.