• 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: NSDocument autosavesInPlace + package file = no revert?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument autosavesInPlace + package file = no revert?


  • Subject: Re: NSDocument autosavesInPlace + package file = no revert?
  • From: Markus Spoettl <email@hidden>
  • Date: Sat, 25 Feb 2017 22:37:14 +0100

On 25/02/17 21:01, Quincey Morris wrote:
On Feb 25, 2017, at 11:16 , Markus Spoettl <email@hidden
<mailto:email@hidden>> wrote:

My concern is that my packages can get huge in the 100MB to multiple GB range
with hundreds of folders and thousands of individual files inside. Will the
NSDocument storing system/AppKit cope with that?

My understanding is that the versioning storage is granular, in the sense that
large files are broken into parts, and only changed parts are re-written to
disc. Using document packages should help this work better, assuming that your
saves typically touch a fairly small number of files. So it’s worth testing to
see what happens.

I suspect it could use the same hard linking mechanisms that the package saving machinery uses itself, were a copy actually doesn't cost a lot and is fast. If that's the case my documents won't be a problem as most of the content stays the same between saves, usually.

Anyway, thanks again for your help!

Best Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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: 
 >NSDocument autosavesInPlace + package file = no revert? (From: Markus Spoettl <email@hidden>)
 >Re: NSDocument autosavesInPlace + package file = no revert? (From: Quincey Morris <email@hidden>)
 >Re: NSDocument autosavesInPlace + package file = no revert? (From: Markus Spoettl <email@hidden>)
 >Re: NSDocument autosavesInPlace + package file = no revert? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Need replacement of Component Manager::OpenDefaultComponent
  • Next by Date: Re: I think I screwed up Core Data multi-threading rules.
  • Previous by thread: Re: NSDocument autosavesInPlace + package file = no revert?
  • Next by thread: KVC Validation w/ custom Formatter not working
  • Index(es):
    • Date
    • Thread