-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to the zlib flate2 decompression backend
The `flate2` crate supports multiple backends for performing decompression: https://github.com/rust-lang/flate2-rs#backends The default `miniz_oxide` flate2 backend has poor performance in debug builds/under QEMU: rust-lang/flate2-rs#297 Ideally we'd use the fastest `zlib-ng` backend, however it fails to cross-compile: rust-lang/libz-sys#93 As such we have to use the next best alternate backend, which is the `zlib` backend. (This is the backend that the Python CNB already uses.) GUS-W-13745779.
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 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
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
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