diff options
| author | bors <bors@rust-lang.org> | 2014-08-06 21:56:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-06 21:56:07 +0000 |
| commit | b9308d1ff0b32598e791a0a68f68cf7e09a07f22 (patch) | |
| tree | c71e74df5fbd4b42410025d3feede7b87fdd6462 /src/rustllvm/RustWrapper.cpp | |
| parent | 51e19e750185f60e404412f702f8f2edc7bc1245 (diff) | |
| parent | a55149b84eba79032567d3d107f73e7a71e358f6 (diff) | |
| download | rust-b9308d1ff0b32598e791a0a68f68cf7e09a07f22.tar.gz rust-b9308d1ff0b32598e791a0a68f68cf7e09a07f22.zip | |
auto merge of #16225 : pczarn/rust/iter-refactoring, r=kballard
Simplifying the code of methods: `nth`, `fold`, `rposition`, and iterators: `Filter`, `FilterMap`, `SkipWhile`. ``` before test iter::bench_multiple_take ... bench: 15 ns/iter (+/- 0) test iter::bench_rposition ... bench: 349 ns/iter (+/- 94) test iter::bench_skip_while ... bench: 158 ns/iter (+/- 6) after test iter::bench_multiple_take ... bench: 15 ns/iter (+/- 0) test iter::bench_rposition ... bench: 314 ns/iter (+/- 2) test iter::bench_skip_while ... bench: 107 ns/iter (+/- 0) ``` @koalazen has the code for `Skip`. Once #16011 is fixed, `min_max` could use a for loop.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
