Thanks for all the responses. I understand the difference slightly better now.
I looked at the program in the link. When i have more than one pool, where does the auto-released memory lands in ? Is there any point in having more than pool ? I am assuming that it is just a linear list and draining perofrmance should not really matter whether it is one pool or multiple pools. What am i missing ? Thanks mohan On Mon, Jan 12, 2009 at 11:59 AM, Jean-Daniel Dupas <[email protected]>wrote: > > Le 12 janv. 09 à 20:37, Mohan Parthasarathy a écrit : > > > Hi, >> >> In places other than dealloc where memory needs to be released (e.g, >> reassigning pointer to objects), is there a difference in doing >> autorelease >> or release of the object in terms of perfomance etc. ? I can see that the >> memory is released immediately in one case whereas in the other it is >> slightly delayed. Is there any other difference ? What is the right thing >> to >> do ? >> > > This is a question for Mike Ash: > > http://www.mikeash.com/?page=pyblog/autorelease-is-fast.html > > > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
