diff options
| author | bors <bors@rust-lang.org> | 2017-07-11 07:42:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-07-11 07:42:13 +0000 |
| commit | a1f180bde3fedc67db04e595a29c9cb4e03f7eaf (patch) | |
| tree | e2f76e166ca7743ba29aea29fa95b36c84d12685 /src/libsyntax/parse/mod.rs | |
| parent | 1999bfaa9f961ce2e0c82e97f9bc152d5ce5ed72 (diff) | |
| parent | 37f56a2ab1e4811d2fbbc91befba2d139828ed13 (diff) | |
| download | rust-a1f180bde3fedc67db04e595a29c9cb4e03f7eaf.tar.gz rust-a1f180bde3fedc67db04e595a29c9cb4e03f7eaf.zip | |
Auto merge of #43147 - oyvindln:deflate_fix, r=alexcrichton
Use similar compression settings as before updating to use flate2 Fixes #42879 (My first PR to rust-lang yay) This changes the compression settings back to how they were before the change to use the flate2 crate rather than the in-tree flate library. The specific changes are to use the `Fast` compression level (which should be equivialent to what was used before), and use a raw deflate stream rather than wrapping the stream in a zlib wrapper. The [zlib](https://tools.ietf.org/html/rfc1950) wrapper adds an extra 2 bytes of header data, and 4 bytes for a checksum at the end. The change to use a faster compression level did give some compile speedups in the past (see #37298). Having to calculate a checksum also added a small overhead, which didn't exist before the change to flate2. r? @alexcrichton
Diffstat (limited to 'src/libsyntax/parse/mod.rs')
0 files changed, 0 insertions, 0 deletions
