diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-03-21 13:06:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-21 13:06:36 +0100 |
| commit | 8deeac153fcca97f6a5185b322f8d65d59fab5f4 (patch) | |
| tree | 530da7556bd6026c5cdfb00735c465b28e43fd82 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | fd3f9176c35f7918c46066af57078a96696e59c7 (diff) | |
| parent | 8aa13289b5fbfcbdf5afb19d15a41a15d8f8aa22 (diff) | |
| download | rust-8deeac153fcca97f6a5185b322f8d65d59fab5f4.tar.gz rust-8deeac153fcca97f6a5185b322f8d65d59fab5f4.zip | |
Rollup merge of #69910 - cjgillot:polym, r=Zoxc
Avoid query type in generics There are at the moment roughly 170 queries in librustc. The way ty::query is structured, a lot of code is duplicated for each query. I suspect this to be responsible for a part of librustc'c compile time. This PR reduces the amount of code generic on the query, replacing it by code generic on the key-value types. This is split out of #69808, and should not contain the perf regression. cc #65031
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
