about summary refs log tree commit diff
path: root/src/rt/jemalloc/test/aligned_alloc.c
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-09-09 21:31:03 -0700
committerbors <bors@rust-lang.org>2013-09-09 21:31:03 -0700
commit7820fb5ca99785c4812ad32be80998a2a4fb4213 (patch)
treecca8e780bad6ed4c09d5a07b914a7102e64eaa74 /src/rt/jemalloc/test/aligned_alloc.c
parent8c7c0b41d7b1a3f240301387fa4152a060d532e4 (diff)
parentc11ee0fb6719e38820762308d67f70cee000bed8 (diff)
downloadrust-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/rt/jemalloc/test/aligned_alloc.c')
0 files changed, 0 insertions, 0 deletions