• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Space-efficient saving for Versions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Space-efficient saving for Versions?


  • Subject: Re: Space-efficient saving for Versions?
  • From: Kevin Perry <email@hidden>
  • Date: Thu, 28 Jul 2011 09:33:17 -0700

The Versions store will do this automatically. It can detect when blocks of a file have been duplicated and avoid storing those blocks on disk.

On Jul 28, 2011, at 12:37 AM, Daniel Vollmer wrote:

> Salutations,
>
> in my custom document package I'm always including a large-ish chunk of data that does not get modified as I change the document itself. Currently, I'm keeping this around as NSData-object and write it out when being asked by NSDocument to return my fileWrapper as one sub-file of the directory package.
> Can I do anything to make it more obvious to the Versions / autosave-mechanism that this file in the package is always the same? Or will it compare the files anyway and notice it's identical to the one used in the previous revision?
>
> Thanks,
> 	Daniel._______________________________________________
>
> 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

_______________________________________________

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

References: 
 >Space-efficient saving for Versions? (From: Daniel Vollmer <email@hidden>)

  • Prev by Date: Re: UI like Transmission BT
  • Next by Date: Re: Running Cocoa from a dynamic library
  • Previous by thread: Space-efficient saving for Versions?
  • Next by thread: Keeping NSOutlineView always active?
  • Index(es):
    • Date
    • Thread