about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-11-16 05:18:57 +0000
committerbors <bors@rust-lang.org>2021-11-16 05:18:57 +0000
commita2a7683e8f321e3c0b9d648ae480827b5ab70e1d (patch)
treedd24e28d63a01f2b58f723f694299ff3e52ce8bc /compiler/rustc_lint/src
parent02063124f96aac10f8c5c70653242b0704d397e0 (diff)
parent746091c61068067695ba0f910651a4b4d97d10b7 (diff)
downloadrust-a2a7683e8f321e3c0b9d648ae480827b5ab70e1d.tar.gz
rust-a2a7683e8f321e3c0b9d648ae480827b5ab70e1d.zip
Auto merge of #90845 - JakobDegen:adt-drop-perf, r=Mark-Simulacrum
Address performance regression introduced by #90218

As part of the changes in #90218 , the `adt_drop_tys` and friends code stopped recursing through the query system, meaning that intermediate computations did not get cached. This change adds the recursions back in without re-introducing any of the old issues.

On local benchmarks this fixes the 5% regressions in #90504 ; the wg-grammar regressions didn't seem to move too much. I may take some time later to look into those.

Not sure who to request for review here, so will leave it up to whoever gets it.
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions