about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-28 07:31:02 -0700
committerbors <bors@rust-lang.org>2013-09-28 07:31:02 -0700
commitc635fba748ace3ad08b97d9ca53366dadabf2028 (patch)
tree31b79b40028815a61184aac81f0363fcb3eab728 /src/rustllvm/PassWrapper.cpp
parent058a5d97a278ddd40791b911c28d993d4a34f885 (diff)
parent3709aa78d8fc75ed739e837d7c96205b8494188d (diff)
downloadrust-c635fba748ace3ad08b97d9ca53366dadabf2028.tar.gz
rust-c635fba748ace3ad08b97d9ca53366dadabf2028.zip
auto merge of #9583 : blake2-ppc/rust/connect-vec, r=huonw
std::vec: Sane implementations for connect_vec and concat_vec

Avoid unnecessary copying of subvectors, and calculate the needed space
beforehand. These implementations are simple but better than the
previous.

Also only implement it once, for all `Vector<T>` using:

    impl<'self, T: Clone, V: Vector<T>> VectorVector<T> for &'self [V]

Closes #9581
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions