]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #42082 - michaelwoerister:wider_def_path_hashes, r=eddyb
authorMark Simulacrum <mark.simulacrum@gmail.com>
Fri, 19 May 2017 20:16:23 +0000 (14:16 -0600)
committerGitHub <noreply@github.com>
Fri, 19 May 2017 20:16:23 +0000 (14:16 -0600)
incr. comp.: Use more bits for DefPath hashes

Use 128 instead of 64 bits for DefPath hashes, like we do for everything else. Collision probability is unnecessarily high with 64 bits.

Also change the representation of `ich::Fingerprint` from `Fingerprint([u8; 16])` to `Fingerprint(u64, u64)` which is better for hashers like `FxHasher`.


Trivial merge