diff options
| author | bors <bors@rust-lang.org> | 2013-09-09 21:31:03 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-09 21:31:03 -0700 |
| commit | 7820fb5ca99785c4812ad32be80998a2a4fb4213 (patch) | |
| tree | cca8e780bad6ed4c09d5a07b914a7102e64eaa74 /src/rustllvm/RustWrapper.cpp | |
| parent | 8c7c0b41d7b1a3f240301387fa4152a060d532e4 (diff) | |
| parent | c11ee0fb6719e38820762308d67f70cee000bed8 (diff) | |
| download | rust-7820fb5ca99785c4812ad32be80998a2a4fb4213.tar.gz rust-7820fb5ca99785c4812ad32be80998a2a4fb4213.zip | |
auto merge of #9062 : blake2-ppc/rust/vec-iterator, r=alexcrichton
Visit the free functions of std::vec and reimplement or remove some. Most prominently, remove `each_permutation` and replace with two iterators, ElementSwaps and Permutations. Replace unzip, unzip_slice with an updated `unzip` that works with an iterator argument. Replace each_permutation with a Permutation iterator. The new permutation iterator is more efficient since it uses an algorithm that produces permutations in an order where each is only one element swap apart, including swapping back to the original state with one swap at the end. Unify the seldomly used functions `build`, `build_sized`, `build_sized_opt` into just one function `build`. Remove `equal_sizes`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
