os-rust/library/core
Scott McMurray 83595f9242 Fix array::IntoIter::fold to use the optimized Range::fold
It was using `Iterator::by_ref` in the implementation, which ended up pessimizing it enough that, for example, it didn't vectorize when we tried it in the <https://rust-lang.zulipchat.com/#narrow/stream/257879-project-portable-simd/topic/Reducing.20sum.20into.20wider.20types> conversation.

Demonstration that the codegen test doesn't pass on the current nightly: <https://rust.godbolt.org/z/Taxev5eMn>
2022-04-02 14:29:41 -07:00
..
benches Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Fix array::IntoIter::fold to use the optimized Range::fold 2022-04-02 14:29:41 -07:00
tests Fix array::IntoIter::fold to use the optimized Range::fold 2022-04-02 14:29:41 -07:00
Cargo.toml Build libcore as 2021 in a few more places 2022-02-06 15:41:01 -08:00