Improve compression #18

Closed
opened 2024-09-24 08:02:08 +00:00 by stephenseo · 4 comments
Owner

SimpleArchiver incurs a large amount of overhead-data when each file is compressed individually. One idea is to concatenate files into chunks and compress the chunks for less overhead. Perhaps a default minimum size per chunk could be 1 MiB, but some tuning/tweaking may be required to optimize it.

SimpleArchiver incurs a large amount of overhead-data when each file is compressed individually. One idea is to concatenate files into chunks and compress the chunks for less overhead. Perhaps a default minimum size per chunk could be 1 MiB, but some tuning/tweaking may be required to optimize it.
stephenseo added the
Kind/Enhancement
label 2024-09-24 08:02:08 +00:00
stephenseo self-assigned this 2024-09-24 08:02:08 +00:00
Author
Owner
https://git.seodisparate.com/stephenseo/SimpleArchiver/src/branch/issue_18_improve_compression will track the progress of this feature until it is merged.
stephenseo added
Kind/Feature
and removed
Kind/Enhancement
labels 2024-09-24 09:51:49 +00:00
stephenseo added this to the Development Planning project 2024-09-24 09:59:30 +00:00
Author
Owner

As of c71f4f45c7 basic extraction is implemented. Uncompressed chunked files can be extracted. Extracting symlinks is implemented but untested. What's left is to test extracting symlinks, extract compressed chunked files, and to create archive files in the new format.

As of https://git.seodisparate.com/stephenseo/SimpleArchiver/commit/c71f4f45c7b49381d9641033a30a320e7be31c0c basic extraction is implemented. Uncompressed chunked files can be extracted. Extracting symlinks is implemented but untested. What's left is to test extracting symlinks, extract compressed chunked files, and to create archive files in the new format.
Author
Owner

This feature is about done, just needs some testing to verify it works correctly.

This feature is about done, just needs some testing to verify it works correctly.
Author
Owner

There were some errors de/compressing archives when using large files. The code has been updated to be more robust and some testing indicates that it works now. Still will test more.

There were some errors de/compressing archives when using large files. The code has been updated to be more robust and some testing indicates that it works now. Still will test more.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stephenseo/SimpleArchiver#18
No description provided.