I have a Document whose file type is a package and potentially contains a
few thousand files. My test case is about 7500 files (mostly images).

I am using

-(NSFileWrapper *)fileWrapperOfType:(NSString *)typeName error:(NSError
**)outError


The problem is that when there is a very small change (just adding or
removing one of the files in the package), the system does not save in
place.

Rather it reads the previous package file completely, writes out a copy of
the package (400 MB) and then renames it.

How can I get it to save in place?

Right now my save operation takes 40 seconds when it could take less than a
second.

Thanks,

Trygve






_______________________________________________

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

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

Reply via email to