diff options
| author | bors <bors@rust-lang.org> | 2014-06-04 11:06:49 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-04 11:06:49 -0700 |
| commit | 7645982efcaced211ad60870e9986c6b9f0f2079 (patch) | |
| tree | 9bc510310e7824f9f7979e15a94acb7c81d4fc12 /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | a6401b52263336c22879d4ffae3eded97949ee7b (diff) | |
| parent | 3b5d6fd25486b29a70adfda6cb917ced614bc6d2 (diff) | |
| download | rust-7645982efcaced211ad60870e9986c6b9f0f2079.tar.gz rust-7645982efcaced211ad60870e9986c6b9f0f2079.zip | |
auto merge of #14623 : exscape/rust-fork/master, r=alexcrichton
Unlike ImmutableClonableVector::permutations() which returns an iterator, cloning the entire array each iteration, these methods mutate the vector in-place. For that reason, these methods are much faster; between 35-55 times faster, depending on the benchmark. They also generate permutations in lexicographical order.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions
