What makes copies slow isn't the writes; it's the reads, since the data still has to be pulled off the disk so it can be sent back to write. That makes sense and does indeed seem to be the reason for the speed after first import (the developer of LibZip said much the same recently when I was asking for more details about how it takes advantage of file cloning). The initial read of the large file takes a while, but after that saving is fast, even on reopening the file (because it is read on open). Anyway, thanks again - this discussion has lead to some nice optimisations in the way I'm working with LibZip as well as working around the save error.
Topic:
App & System Services
SubTopic:
Core OS
Tags: