rust/compiler/rustc_data_structures
Josh Stone 469ca379d6 Avoid rehashing Fingerprint as a map key
This introduces a no-op `Unhasher` for map keys that are already hash-
like, for example `Fingerprint` and its wrapper `DefPathHash`. For these
we can directly produce the `u64` hash for maps. The first use of this
is `def_path_hash_to_def_id: Option<UnhashMap<DefPathHash, DefId>>`.
2020-09-01 18:27:02 -07:00
..
src Avoid rehashing Fingerprint as a map key 2020-09-01 18:27:02 -07:00
Cargo.toml datastructures: replace once_cell crate with an impl from std 2020-08-30 20:06:14 +01:00