Skip to content

Optimize logic in SliceLongerSpanToMatchShorterLength#121104

Merged
jeffhandley merged 3 commits intodotnet:mainfrom
xtqqczze:SliceLongerSpanToMatchShorterLength
Feb 1, 2026
Merged

Optimize logic in SliceLongerSpanToMatchShorterLength#121104
jeffhandley merged 3 commits intodotnet:mainfrom
xtqqczze:SliceLongerSpanToMatchShorterLength

Conversation

@xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Oct 27, 2025

Optimise bounds checks.

Diffs

@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-memory
See info in area-owners.md if you want to be subscribed.

@xtqqczze
Copy link
Contributor Author

@MihuBot

@xtqqczze
Copy link
Contributor Author

@EgorBo Is this something that can and should be optimised by the JIT?

@EgorBo
Copy link
Member

EgorBo commented Nov 18, 2025

@EgorBo Is this something that can and should be optimised by the JIT?

Well, simpler code line has better CQ so .. 🤷

@xtqqczze
Copy link
Contributor Author

@MihuBot

@jeffhandley jeffhandley merged commit d68ea38 into dotnet:main Feb 1, 2026
143 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-System.Memory community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants