-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Previously, the first day of the year would create a yearly archive, the second day would create a monthly, and the third would create a daily archive. With this change, yearly, monthly, and daily archives always exist. Daily archives are created every time acts is run. If monthly and/or yearly archives don't exist, the new daily archive is copied to the other(s). Copies are based on metadata. That metadata must be read and parsed, which causes some data transfer. However, that data is quite minimal and should impose very little cost. Copies do take some time to run. The time scales with the number of files in the archive, not with the size of each file. And though time scales, it scales very slowly. In my tests, copies are faster than archive creation for all but the smallest archives of 1-5 files. Copies are substantially faster for large archives.
- Loading branch information
1 parent
61fe6e2
commit e4943c4
Showing
1 changed file
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters