rust/compiler/rustc_middle
bors 8a9fa3682d Auto merge of #84719 - Mark-Simulacrum:reduce-query-impl, r=davidtwco
Move iter_results to dyn FnMut rather than a generic

This means that we're no longer generating the iteration/locking code for each invocation site of iter_results, rather just once per query (roughly), which seems much better: this is a 15% win in instruction counts when compiling the rustc_query_impl crate. The code where this is used also is pretty cold, I suspect; the old solution didn't fully monomorphize either.
2021-04-30 22:21:07 +00:00
..
benches
src Auto merge of #84719 - Mark-Simulacrum:reduce-query-impl, r=davidtwco 2021-04-30 22:21:07 +00:00
Cargo.toml
README.md

For more information about how rustc works, see the rustc dev guide.