diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-02-08 00:27:07 +0100 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2020-02-09 23:17:09 +0100 |
| commit | 5ab1ab4959c3a5bb55123a7f48934684fd62bc51 (patch) | |
| tree | deca802e4f7c0b27f82757c7f9ff2a713e15faec /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 71c7e149e42cb0fc78a80db70d2525973311d488 (diff) | |
| download | rust-5ab1ab4959c3a5bb55123a7f48934684fd62bc51.tar.gz rust-5ab1ab4959c3a5bb55123a7f48934684fd62bc51.zip | |
Reduce queries/map lookups done by coherence
This has negligible perf impact, but it does improve the code a bit. * Only query the specialization graph of any trait once instead of once per impl * Loop over impls only once, precomputing impl DefId and TraitRef
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
