Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
165: koch: generate zstd archives by default r=alaviss a=alaviss Zstandard is a fast compression algorithm with ratio rivaling that of XZ. Emperical testing on my Ryzen 5 3600 resulted in a massive improvement in compression and decompression speed, in particular: - Zstd is 13% faster than XZ for compression. - Zstd is 88% faster than XZ for decompression. - Zstd archive is 6% larger than XZ archive. All tests are done on an unix binary tarball generated by: ```sh ./koch.py unixrelease --format:tar ``` With this change we will be trading off a small amount of space for a massive improvement in compression and decompression time. <!-- ## Tips for pull requests * use chat, discussions, etc... to refine an idea for big and/or impactful changes * open them relatively early in draft mode and get regular feedback * add notes for reviewers and yourself as you go, so it's easy to maintain context * refine the pull request message over time --> <!-- ## Finalizing a PR: ### title: * reads like a short changelog line ### body: * describe the current behaviour * describe why this particular approach * if it's breaking, migration steps * note any follow-on work ### content: * leave code better than you found it, add docs, tests, etc --> <!-- * note any issues that this fixes entirely * use `fixes nim-lang#123 .` to auto-close issues --> Co-authored-by: Leorize <leorize+oss@disroot.org>
- Loading branch information