]> git.lizzy.rs Git - rust.git/commit
Auto merge of #71268 - estebank:devectorize, r=eddyb
authorbors <bors@rust-lang.org>
Mon, 27 Apr 2020 10:00:05 +0000 (10:00 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Apr 2020 10:00:05 +0000 (10:00 +0000)
commit46ec74e60f238f694b46c976d6217e7cf8d4cf1a
treeee71729ded06b584aac6ffbb4e721b38e3864966
parentd81f5597ac081707346ac68f6938ad6282fc2fee
parente7e3001557cc9a2e13bce599e374b474392eb779
Auto merge of #71268 - estebank:devectorize, r=eddyb

Remove some `Vec` allocations to improve performance

This claws back most of the performance lost in https://github.com/rust-lang/rust/pull/69745.
r? @eddyb
src/librustc_middle/ty/trait_def.rs
src/librustc_mir/transform/const_prop.rs
src/librustc_trait_selection/opaque_types.rs
src/librustc_trait_selection/traits/error_reporting/mod.rs
src/librustc_trait_selection/traits/specialize/mod.rs
src/librustc_typeck/check/method/confirm.rs
src/librustc_typeck/check/method/mod.rs
src/librustc_typeck/check/mod.rs
src/librustc_typeck/check/wfcheck.rs
src/librustc_typeck/impl_wf_check/min_specialization.rs