]> git.lizzy.rs Git - rust.git/commit
Use `SmallVec` within `MoveData`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 1 Nov 2018 04:34:36 +0000 (15:34 +1100)
committerNicholas Nethercote <nnethercote@mozilla.com>
Thu, 1 Nov 2018 08:03:56 +0000 (19:03 +1100)
commit0e5d7d2322db2a5db82161dc1d57158acad7b2d9
treeb4de4d703a0a25d4e44c6b19764f4eebda7facd4
parentde9666f123e800d5fc34210f23127aa6a5d6e4ef
Use `SmallVec` within `MoveData`.

This reduces allocation counts significantly in a few benchmarks,
reducing instruction counts by up to 2%.
src/librustc_mir/dataflow/move_paths/builder.rs
src/librustc_mir/dataflow/move_paths/mod.rs