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
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 mails | Author | Date |
|---|---|---|
| Gurmit Teotia | Jun 7, 16:01 | |
| Shawn Erickson | Jun 7, 16:24 | |
| Gurmit Teotia | Jun 8, 08:44 | |
| Michael Ash | Jun 8, 19:11 |






Cocoa mail archive

