Skip to content

Conversation

@Sergio0694
Copy link
Member

@Sergio0694 Sergio0694 commented Jan 19, 2024

Saves 55 KB on .NET 9:

image

The issue is the linker couldn't follow the flow reading back from the static field, so it always compiling both paths.

@Sergio0694 Sergio0694 requested a review from manodasanW January 19, 2024 18:15
@Sergio0694 Sergio0694 added the performance Related to performance work label Jan 19, 2024
@Sergio0694 Sergio0694 merged commit 329747f into staging/AOT Jan 19, 2024
@Sergio0694 Sergio0694 deleted the user/sergiopedri/marshal-trim-improvement branch January 19, 2024 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AOT performance Related to performance work trimming

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants