Re: Image scaling
Re: Image scaling
- Subject: Re: Image scaling
- From: Scott Ribe <email@hidden>
- Date: Fri, 04 Jan 2008 17:34:10 -0700
- Thread-topic: Image scaling
And I forgot the most important point. I believe that NS image classes do
some caching of images for performance, behind your back, out of your
control. It's possible that accounts for the perceived leak that you saw,
and that if you use your initial method to process a large number of images,
the cache will get flushed before the "leak" grows too large.
Of course it's also possible there's a bug: in your code with
retain/release, or no autorelease pool in a thread; or less likely in Cocoa
functions.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice
_______________________________________________
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