Skip to content
Discussion options

You must be logged in to vote

Cloning does work the way I described. So if you change the entry before the video, the video is rewritten.

Your timing measurements are probably thrown off by the file system cache: The first time you add the video file, it has to be read in from disk. When you update the zip archive, it is already in RAM, so writing it back out is much faster.

Getting repeatable measurements of file access is hard. Making sure everything is in the cache first helps. You can usually get pretty close by repeating it multiple times and discarding the first measurements until it settles into similar run times.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kayembi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants