Skip to content

Conversation

xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Apr 6, 2023

  • Force the JIT to inline this 17 byte method to elide bounds checks.
  • Remove useless uint casts as char is unsigned and ReadOnlySpan<T>.Length is never negative.

* Force the JIT to inline this 17 byte method to elide bounds checks.
* Remove useless `uint` casts as `char` is unsigned and `ReadOnlySpan<T>.Length` is never negative.
@ghost ghost added needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners community-contribution Indicates that the PR has been added by a community member labels Apr 6, 2023
@stephentoub stephentoub added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Apr 6, 2023
@stephentoub stephentoub closed this Apr 6, 2023
@xtqqczze xtqqczze deleted the patch-4 branch April 6, 2023 13:27
@ghost ghost locked as resolved and limited conversation to collaborators May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community-contribution Indicates that the PR has been added by a community member needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants