diff options
| author | bors <bors@rust-lang.org> | 2013-09-28 07:31:02 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-28 07:31:02 -0700 |
| commit | c635fba748ace3ad08b97d9ca53366dadabf2028 (patch) | |
| tree | 31b79b40028815a61184aac81f0363fcb3eab728 /src/rustllvm/PassWrapper.cpp | |
| parent | 058a5d97a278ddd40791b911c28d993d4a34f885 (diff) | |
| parent | 3709aa78d8fc75ed739e837d7c96205b8494188d (diff) | |
| download | rust-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
