Skip navigation.
 
mlRe: Please advise on memory handling
FROM : Michael Ash
DATE : Thu Jun 08 19:11:42 2006

On 6/8/06, Gurmit Teotia <gurmit.<email_removed>> 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

Related mailsAuthorDate
mlPlease advise on memory handling Gurmit Teotia Jun 7, 16:01
mlRe: Please advise on memory handling Shawn Erickson Jun 7, 16:24
mlRe: Please advise on memory handling Gurmit Teotia Jun 8, 08:44
mlRe: Please advise on memory handling Michael Ash Jun 8, 19:11