]> git.lizzy.rs Git - rust.git/commit
Auto merge of #86266 - LeSeulArtichaut:box-thir-adt, r=davidtwco
authorbors <bors@rust-lang.org>
Wed, 16 Jun 2021 20:00:17 +0000 (20:00 +0000)
committerbors <bors@rust-lang.org>
Wed, 16 Jun 2021 20:00:17 +0000 (20:00 +0000)
commita85f584aebd9b08314bf30b9adc17b4a752143e5
treeab939baf6830e1f0ccc5b3a14bd4cf592c311dfa
parent9fef8d91b4a6c5bfe07c025c434f2d623ad83337
parent5e802e5e97c1c5b995bb68edc2d40557b8af83fc
Auto merge of #86266 - LeSeulArtichaut:box-thir-adt, r=davidtwco

Box `thir::ExprKind::Adt` for performance

`Adt` is the biggest variant in the enum and probably isn't used very often compared to the other expr kinds, so boxing it should be beneficial for performance. We need a perf test to be sure.