Skip to content

Remove Lazy<T> uses on NativeAOT#1473

Merged
Sergio0694 merged 3 commits into
staging/AOTfrom
user/sergiopedri/remove-lazy-t
Jan 27, 2024
Merged

Remove Lazy<T> uses on NativeAOT#1473
Sergio0694 merged 3 commits into
staging/AOTfrom
user/sergiopedri/remove-lazy-t

Conversation

@Sergio0694
Copy link
Copy Markdown
Member

Only needed in two internal types, we can use simple manual caching instead and trim the type away.

Comment thread src/WinRT.Runtime/AgileReference.cs
@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/remove-lazy-t branch from 338c7d3 to 4cc855c Compare January 26, 2024 19:58
@Sergio0694
Copy link
Copy Markdown
Member Author

Saves 7 KB, I'll take it ahah

image

@Sergio0694 Sergio0694 merged commit ad4887b into staging/AOT Jan 27, 2024
@Sergio0694 Sergio0694 deleted the user/sergiopedri/remove-lazy-t branch January 27, 2024 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants