about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-30 09:52:29 +0000
committerbors <bors@rust-lang.org>2019-09-30 09:52:29 +0000
commite0436d912df090b0c3cba9a8b818aab408756e49 (patch)
tree48d50edb6ab8a2c03fe86b4f2c76e676d2cf4e61 /src/libstd/sys/unix/stack_overflow.rs
parentbf8491e72ef0d5ea0ef683e9d149408a717545e4 (diff)
parent6ac64abd6d4fdd60c6ee34fb1a14d2eaa9faed16 (diff)
downloadrust-e0436d912df090b0c3cba9a8b818aab408756e49.tar.gz
rust-e0436d912df090b0c3cba9a8b818aab408756e49.zip
Auto merge of #64600 - scottmcm:no-slice-tryfold-unroll, r=bluss
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).

---

For context see https://github.com/rust-lang/rust/pull/64572#issuecomment-532961046
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions