Skip to content
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

[mono] Fix SpanHelpers.Reverse regression #70650

Merged
merged 3 commits into from
Jun 22, 2022

Commits on Jun 20, 2022

  1. [mono] Fix SpanHelpers.Reverse regression

    SpanHelpers.Reverse was optimized recently using vectorized operations. However, the slow path (which is used by wasm for example) became slower. This change uses the old code pattern to reverse the array in non-vectorized scenario (or the rest of the array in the vectorized scenario). This is 2-3 times faster on wasm for example.
    BrzVlad committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    ac420d4 View commit details
    Browse the repository at this point in the history
  2. Mark method for inlining

    BrzVlad committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    6a7f8c4 View commit details
    Browse the repository at this point in the history
  3. Add check for minimum length

    This method can now be called with length 0
    BrzVlad committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    80f701c View commit details
    Browse the repository at this point in the history