diff options
| author | Michael Goulet <michael@errs.io> | 2025-06-26 20:15:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 20:15:18 -0400 |
| commit | 9820197e120ea6714a188903e38db53aefa76b57 (patch) | |
| tree | d19ad7e3fa6ee7159ef176fa838336fdb635d828 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 36cde678948400f2dcda71ed09e2072f093b63d5 (diff) | |
| parent | e6c300892dce9202e4f21359129569536945dfea (diff) | |
| download | rust-9820197e120ea6714a188903e38db53aefa76b57.tar.gz rust-9820197e120ea6714a188903e38db53aefa76b57.zip | |
Rollup merge of #142549 - the8472:intersperse-fold-tweak, r=tgross35
small iter.intersperse.fold() optimization No need to call into fold when the first item is already None, this avoids some redundant work for empty iterators. "But it uses Fuse" one might want to protest, but Fuse is specialized and may call into the inner iterator anyway.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
