Skip to content

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 Sergio0694 requested a review from manodasanW 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
@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.

3 participants