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

Reduce alignment of dispatch maps #65823

Merged
merged 1 commit into from
Feb 24, 2022
Merged

Reduce alignment of dispatch maps #65823

merged 1 commit into from
Feb 24, 2022

Conversation

MichalStrehovsky
Copy link
Member

We've been aligning these at 16 bytes since dispatch maps were added in 2016. Not clear where the 16 came from. Rhbind seems to be aligning these at pointer boundaries, but we only place ushorts in here.

This likely results in some size savings.

We've been aligning these at 16 bytes [since dispatch maps were added](dotnet/corert#626) in 2016. Not clear where the 16 came from. Rhbind seems to be aligning these at pointer boundaries, but we only place `ushort`s in here.

This likely results in some size savings.
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

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

Thanks

@jkotas jkotas merged commit 6e99b58 into main Feb 24, 2022
@jkotas jkotas deleted the MichalStrehovsky-patch-1 branch February 24, 2022 05:49
@ghost ghost locked as resolved and limited conversation to collaborators Mar 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants