Commit 92e91f7
committed
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 rust-lang#64545).1 parent eceec57 commit 92e91f7
1 file changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3184 | 3184 | | |
3185 | 3185 | | |
3186 | 3186 | | |
3187 | | - | |
| 3187 | + | |
| 3188 | + | |
| 3189 | + | |
| 3190 | + | |
| 3191 | + | |
3188 | 3192 | | |
3189 | | - | |
3190 | | - | |
3191 | | - | |
3192 | | - | |
3193 | | - | |
3194 | | - | |
3195 | | - | |
3196 | | - | |
3197 | | - | |
3198 | | - | |
| 3193 | + | |
| 3194 | + | |
3199 | 3195 | | |
3200 | 3196 | | |
3201 | 3197 | | |
| |||
3204 | 3200 | | |
3205 | 3201 | | |
3206 | 3202 | | |
3207 | | - | |
3208 | | - | |
3209 | 3203 | | |
3210 | 3204 | | |
3211 | 3205 | | |
| |||
0 commit comments