Re: literal strings - who do they belong to?
Re: literal strings - who do they belong to?
- Subject: Re: literal strings - who do they belong to?
- From: Charles Srstka <email@hidden>
- Date: Mon, 13 Jul 2009 19:53:43 -0500
On Jul 13, 2009, at 7:42 PM, Wade Tregaskis wrote:
There's also a high cost, in CPU cycles and memory, to retain/
[auto]release in such an excessively defensive way. And have fun
using Object Alloc to find real problems once you've added these
superfluous retain/release/autoreleases to every return value in
your entire program.
But wouldn't adding those retain/autoreleases to every accessor in
your entire program have the same effect?
Charles
_______________________________________________
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