• 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: Please advise on memory handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please advise on memory handling


  • Subject: Re: Please advise on memory handling
  • From: "Michael Ash" <email@hidden>
  • Date: Thu, 8 Jun 2006 13:11:42 -0400

On 6/8/06, Gurmit Teotia <email@hidden> wrote:
Thanks Shawn. Infect I was also thinking of release inner pool after some
iterations. But I want to confirm that I'm not going in wrong direction.

Unless your loop contents do almost nothing, then the overhead of creating and destroying an autorelease pool in every iteration will not be noticeable. Remember, always optimize later, and if you must optimize then do it on working code, and with the help of good measurements to tell you what's slow.

Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Please advise on memory handling (From: "Gurmit Teotia" <email@hidden>)
 >Re: Please advise on memory handling (From: Shawn Erickson <email@hidden>)
 >Re: Please advise on memory handling (From: "Gurmit Teotia" <email@hidden>)

  • Prev by Date: Re: Distributed Objects, copying thereof
  • Next by Date: Creating table cells with multiple controls
  • Previous by thread: Re: Please advise on memory handling
  • Next by thread: Using the same NSMenu multiple times
  • Index(es):
    • Date
    • Thread