about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-11 07:42:13 +0000
committerbors <bors@rust-lang.org>2017-07-11 07:42:13 +0000
commita1f180bde3fedc67db04e595a29c9cb4e03f7eaf (patch)
treee2f76e166ca7743ba29aea29fa95b36c84d12685 /src/libsyntax/parse
parent1999bfaa9f961ce2e0c82e97f9bc152d5ce5ed72 (diff)
parent37f56a2ab1e4811d2fbbc91befba2d139828ed13 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions