Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort files by type for better compressibility #30

Closed
isaacs opened this issue May 22, 2019 · 0 comments · Fixed by #33
Closed

Sort files by type for better compressibility #30

isaacs opened this issue May 22, 2019 · 0 comments · Fixed by #33

Comments

@isaacs
Copy link
Contributor

isaacs commented May 22, 2019

One weird trick that might be useful: https://twitter.com/isntitvacant/status/1131094910923231232?s=21

isaacs added a commit that referenced this issue Jun 4, 2019
Gzip is best optimized when files containing similar contents are nearby
one another in the string of bytes being compressed.

Sort by extname, then basename, then alphabetically, to increase the
likelihood of similar files being found nearby one another in the
resulting tarball archive.

Fix #30
isaacs added a commit that referenced this issue Jun 28, 2019
Gzip is best optimized when files containing similar contents are nearby
one another in the string of bytes being compressed.

Sort by extname, then basename, then alphabetically, to increase the
likelihood of similar files being found nearby one another in the
resulting tarball archive.

Fix #30
isaacs added a commit that referenced this issue Jun 29, 2019
Gzip is best optimized when files containing similar contents are nearby
one another in the string of bytes being compressed.

Sort by extname, then basename, then alphabetically, to increase the
likelihood of similar files being found nearby one another in the
resulting tarball archive.

Fix #30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant