diff options
| author | The8472 <git@infinite-source.de> | 2021-07-24 17:42:20 +0200 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2021-07-24 19:24:11 +0200 |
| commit | e015e9da717bf501ab4752b2ea045d899f804a42 (patch) | |
| tree | 50978138163fc4dad124b8f7de1ff97680b6f2d0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 18840b0719aa766a1bc49ea2eb5dc2e4cde7da3f (diff) | |
| download | rust-e015e9da717bf501ab4752b2ea045d899f804a42.tar.gz rust-e015e9da717bf501ab4752b2ea045d899f804a42.zip | |
implement fold() on array::IntoIter to improve flatten().collect() perf
``` # old test vec::bench_flat_map_collect ... bench: 2,244,024 ns/iter (+/- 18,903) # new test vec::bench_flat_map_collect ... bench: 172,863 ns/iter (+/- 2,141) ```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
