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

Replace unaligned casts in SpanHelpers.Memmove #98812

Merged
merged 5 commits into from
Apr 15, 2024
Merged

Conversation

xtqqczze
Copy link
Contributor

@xtqqczze xtqqczze commented Feb 22, 2024

Fix #83709.

No diffs expected.

IL size is reduced by ~140 bytes.

@xtqqczze xtqqczze marked this pull request as ready for review February 22, 2024 15:52
@EgorBo
Copy link
Member

EgorBo commented Feb 22, 2024

@MihuBot

@MichalPetryka
Copy link
Contributor

@MihuBot -arm64

@EgorBo
Copy link
Member

EgorBo commented Feb 24, 2024

Do you mind if we merge this after #98623 to avoid resolving conflicts there because that PR is already too big?

@MihaZupan MihaZupan added area-System.Buffers and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Feb 25, 2024
@ghost
Copy link

ghost commented Feb 25, 2024

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

Issue Details

Fix #83709

IL size is reduced by ~140 bytes.

Author: xtqqczze
Assignees: -
Labels:

area-System.Buffers

Milestone: -

@xtqqczze xtqqczze marked this pull request as draft February 25, 2024 11:17
@teo-tsirpanis teo-tsirpanis added the community-contribution Indicates that the PR has been added by a community member label Feb 26, 2024
@xtqqczze xtqqczze changed the title Replace unaligned casts in Buffer.Memmove Replace unaligned casts in SpanHelpers.Memmove Feb 28, 2024
Fix dotnet#83709
IL size is reduced by ~140 bytes.
@xtqqczze xtqqczze marked this pull request as ready for review March 27, 2024 22:54
@xtqqczze
Copy link
Contributor Author

@EgorBo Build analysis is green, could you please review.

@xtqqczze
Copy link
Contributor Author

@MihuBot -arm64

Copy link
Member

@EgorBo EgorBo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, lgtm

@jkotas jkotas merged commit 5aee4f4 into dotnet:main Apr 15, 2024
148 of 150 checks passed
matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Buffers 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.

Buffer.Memmove has unaligned casts
6 participants