diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2019-09-18 21:36:30 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2019-09-21 21:16:24 -0700 |
| commit | 92e91f7541af929010638355dc16daf27fd28b65 (patch) | |
| tree | 6f454ae5299a2f7685619ce26d27a566c5023c0a /src/libsyntax/parse/parser/expr.rs | |
| parent | eceec57f72150dd548e05025a05a93381da41385 (diff) | |
| download | rust-92e91f7541af929010638355dc16daf27fd28b65.tar.gz rust-92e91f7541af929010638355dc16daf27fd28b65.zip | |
Remove manual unrolling from slice::Iter(Mut)::try_fold
While this definitely helps sometimes (particularly for trivial closures), it's also a pessimization sometimes, so it's better to leave this to (hypothetical) future LLVM improvements instead of forcing this on everyone. I think it's better for the advice to be that sometimes you need to unroll manually than you sometimes need to not-unroll manually (like #64545).
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
