Re: File system caching of - xxxxWithContentsOfFile:

2010-08-19 Thread Ken Ferry
By default all file access is Mac OS X is cached, external to the process, in the unified buffer cache. Certain APIs may disable it if they're pretty sure it's wrong, but for the most part,

File system caching of - xxxxWithContentsOfFile:

2010-08-18 Thread jonat...@mugginsoft.com
The following classes implement either -initWithContentsOfFile: or an appropriate similar factory method. NSData NSArray NSCharacterSet NSImageRep NSSound NSString Only NSData provides a method which allows an option to control file read caching - dataWithContentsOfFile:options:error: For no