On 18 Aug 2010, at 01:26, Shawn Erickson wrote:
> 
> ... however if your application loads
> file data (aka image data in your case) only once or it is unlikely
> your application will load the same file data again in the reasonable
> near future then you should look at disabling file caching of the file
> data you load.
> 
> Review...
> 
> http://developer.apple.com/mac/library/documentation/Performance/Conceptual/FileSystem/Articles/FilePerformance.html#//apple_ref/doc/uid/20001987-99732
> 
> I don't think "kCGImageSourceShouldCache" affects caching at the file
> system cache level, it only enables/disables cacheing of decoded image
> data (aka raw pixels instead of source jpeg data). To avoid file
> caching you may have to load file data in a different way...

Yes, it did occur to me that I was locking the stable door after the horse
had bolted.  Thanks for the pointer - I think disabling file caching might be
an approach worth pursuing (although the man page for fctrl isn't yet
making much sense to me).

> I would consider asking this question on the quartz developer list.

Will do, but I think I'll play with Instruments and file caching first.

Stuart

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to