• 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
Re: Autorelease pools?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autorelease pools?


  • Subject: Re: Autorelease pools?
  • From: Gregory Weston <email@hidden>
  • Date: Thu, 18 Mar 2004 22:03:13 -0500

On Mar 18, 2004, at 9:15 PM, Kevin Ballard wrote:

Can anybody tell me what's the point of creating your own autorelease
pools when Cocoa automatically creates one for you?

In addition to the situations John S mentioned, you may just want finer control over the destruction of objects. Say you've got a loop that creates a large number of transient objects on each pass (and isn't especially time critical). Perfect place to put in a new pool.

G
_______________________________________________
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.


  • Follow-Ups:
    • Re: Autorelease pools?
      • From: Clark Cox <email@hidden>
    • Re: Autorelease pools?
      • From: Greg Hulands <email@hidden>
  • Prev by Date: Re: Quitting screensavers programmatically
  • Next by Date: Re: Autorelease pools?
  • Previous by thread: Re: Autorelease pools?
  • Next by thread: Re: Autorelease pools?
  • Index(es):
    • Date
    • Thread