Re: Another autorelease question
Re: Another autorelease question
- Subject: Re: Another autorelease question
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 13 Sep 2003 19:03:32 +0100
On Saturday, September 13, 2003, at 05:07 pm, Dave Riggle wrote:
_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?
No, only when they are autoreleased. If you're not autoreleasing them,
then that'll probably be only at creation.
-- Finlay
_______________________________________________
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.