]> git.lizzy.rs Git - rust.git/commit
Auto merge of #47243 - wesleywiser:incr_fingerprint_encoding, r=michaelwoerister
authorbors <bors@rust-lang.org>
Thu, 11 Jan 2018 00:23:23 +0000 (00:23 +0000)
committerbors <bors@rust-lang.org>
Thu, 11 Jan 2018 00:23:23 +0000 (00:23 +0000)
commitc9c29807362b52dcf8e7736e0925233c2526aa18
tree6d34a64d43285bfc0ede7067f13ecad0d08e5663
parentf62f774035735a06c880c48c0b9017fcc0577e33
parent01c890ee961aa18e2bfea5c07f4cdd9a29053479
Auto merge of #47243 - wesleywiser:incr_fingerprint_encoding, r=michaelwoerister

[incremental] Specialize encoding and decoding of Fingerprints

This saves the storage space used by about 32 bits per `Fingerprint`.
On average, this reduces the size of the `/target/{mode}/incremental`
folder by roughly 5% [Full details here](https://gist.github.com/wesleywiser/264076314794fbd6a4c110d7c1adc43e).

Fixes #45875

r? @michaelwoerister
src/librustc_metadata/decoder.rs
src/librustc_metadata/encoder.rs