Another autorelease question
Another autorelease question
- Subject: Another autorelease question
- From: Dave Riggle <email@hidden>
- Date: Sat, 13 Sep 2003 09:07:37 -0700
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.