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

Drop all delegates and closures in MarshalInterface<T> on NAOT #1450

Merged

Conversation

Sergio0694
Copy link
Member

Further size/performance optimization on top of #1437.
This removes all lambdas and closures in MarshalInterface<T> on NativeAOT.

@Sergio0694 Sergio0694 added performance Related to performance work trimming AOT labels Jan 18, 2024
Base automatically changed from user/sergiopedri/trim-marshal-generic to staging/AOT January 18, 2024 20:13
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/drop-marshal-interface-delegates branch from e75d845 to 9ed77e0 Compare January 18, 2024 20:17
@Sergio0694 Sergio0694 marked this pull request as ready for review January 18, 2024 20:17
@Sergio0694
Copy link
Member Author

Saves a few KBs, a bit more as your number of marshalled types goes up in larger applications:

image

@Sergio0694 Sergio0694 merged commit d097f1e into staging/AOT Jan 23, 2024
9 checks passed
@Sergio0694 Sergio0694 deleted the user/sergiopedri/drop-marshal-interface-delegates branch January 23, 2024 11:26
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.

2 participants