Skip to content

Slight wording tweak in 2/26 #6422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Slight wording tweak in 2/26 #6422

merged 1 commit into from
Mar 5, 2025

Conversation

scottmcm
Copy link
Member

@scottmcm scottmcm commented Mar 1, 2025

slice::Iter::next was always inlined in LLVM; the piece that's new is that it inlines in MIR.

I propose this slight tweak to avoid anyone thinking "wait, it didn't inline before?!?" when reading this, because slice iterators not inlining would have meant horrible runtime performance.

cc @rylev

@bdillo bdillo merged commit e285f27 into rust-lang:master Mar 5, 2025
1 check passed
@bdillo
Copy link
Contributor

bdillo commented Mar 5, 2025

Obviously this one has already been sent out, but thank you for the correction!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants