rust/compiler/rustc_middle
bors 2d6eccdb67 Auto merge of #77755 - bugadani:perf-calc-dtor, r=ecstatic-morse
Monomorphize `calculate_dtor` instead of using function pointers

Change `calculate_dtor` to avoid dynamic dispatching. This change allows the empty functions to be optimized away.

Based on the discussion in https://github.com/rust-lang/rust/pull/77754#discussion_r502498970, the performance impact of this change was measured.

Perf run results: https://perf.rust-lang.org/compare.html?start=7bc5839e99411aad9061a632b62075d1346cbb3b&end=ffec759ae9bbc4d6d2235ff40ade6723a85bc7cc
2020-10-13 10:19:30 +00:00
..
benches
src Auto merge of #77755 - bugadani:perf-calc-dtor, r=ecstatic-morse 2020-10-13 10:19:30 +00:00
Cargo.toml Update chalk to 0.32.0 2020-10-08 13:17:01 +02:00
README.md

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