about summary refs log tree commit diff
path: root/tests/mir-opt/dataflow-const-prop/array_index.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-06 22:34:53 +0000
committerbors <bors@rust-lang.org>2024-01-06 22:34:53 +0000
commitfde0e98247dd4dd13af6cfe21f9eab2e54d50f12 (patch)
treede2f32fd1f863d6d089415a36e571d6fd62a25b5 /tests/mir-opt/dataflow-const-prop/array_index.rs
parentb6a8c762eed0ae0383658c38d65cb91bbd9800a1 (diff)
parent0e9c3d95336efb6dd85f6b97235f58a7cf040bfc (diff)
downloadrust-fde0e98247dd4dd13af6cfe21f9eab2e54d50f12.tar.gz
rust-fde0e98247dd4dd13af6cfe21f9eab2e54d50f12.zip
Auto merge of #119599 - marthadev:position, r=the8472
Rewrite Iterator::position default impl

Storing the accumulating value outside the fold in an attempt to improve code generation has shown speedups on various handwritten benchmarks, see discussion at #119551.
Diffstat (limited to 'tests/mir-opt/dataflow-const-prop/array_index.rs')
0 files changed, 0 insertions, 0 deletions