• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Release vs. autorelease
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Release vs. autorelease


  • Subject: Release vs. autorelease
  • From: "Mohan Parthasarathy" <email@hidden>
  • Date: Mon, 12 Jan 2009 11:37:19 -0800

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 ?

thanks
mohan
_______________________________________________

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

  • Follow-Ups:
    • Re: Release vs. autorelease
      • From: Andy Lee <email@hidden>
    • Re: Release vs. autorelease
      • From: Nick Zitzmann <email@hidden>
    • Re: Release vs. autorelease
      • From: Dave Carrigan <email@hidden>
    • Re: Release vs. autorelease
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Release vs. autorelease
      • From: Robert Marini <email@hidden>
  • Prev by Date: Re: Disabled button looks like enabled
  • Next by Date: Re: Disabled button looks like enabled
  • Previous by thread: Re: didReceiveMemoryWarning doesn't release view...
  • Next by thread: Re: Release vs. autorelease
  • Index(es):
    • Date
    • Thread