]> git.lizzy.rs Git - rust.git/commit
Auto merge of #51869 - nnethercote:rm-clone_from, r=nikomatsakis
authorbors <bors@rust-lang.org>
Sun, 1 Jul 2018 04:23:29 +0000 (04:23 +0000)
committerbors <bors@rust-lang.org>
Sun, 1 Jul 2018 04:23:29 +0000 (04:23 +0000)
commite953e4621e9c0bfa3a10a4a7dd1da1512a28332d
treed55f27c62fd8cb52733fc158c4c54104de02aecc
parent33b40f56792f0ed198b79818891634275cb8168e
parent08683f003cab472efc0481c349cb69dfb137c4c1
Auto merge of #51869 - nnethercote:rm-clone_from, r=nikomatsakis

Avoid needless allocations in `liveness_of_locals`.

We don't need to replace the heap-allocated bitset, we can just
overwrite its contents.

This speeds up most NLL benchmarks, the best by 1.5%.

r? @nikomatsakis