Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Make default comparers a removable feature #7209

Merged
merged 1 commit into from
Mar 25, 2019

Conversation

MichalStrehovsky
Copy link
Member

Adding to make it possible to work around current problems in #7208 when reflection is disabled.

Comparers also root the entire type loader, so making this optional puts as on a path where we can make type loader optional too. Type loader is about 500 kB of junk. If we can remove it, our Hello world size becomes competitive with Go. People who are willing to walk the extra mile to make their code compatible with this get very small deployment sizes that are especially important for e.g. the WASM target.

Adding to make it possible to work around current problems in dotnet#7208 when reflection is disabled.

Comparers also root the entire type loader, so making this optional puts as on a path where we can make type loader optional too. Type loader is about 500 kB of junk. If we can remove it, our Hello world size becomes competitive with Go. People who are willing to walk the extra mile to make their code compatible with this get very small deployment sizes that are especially important for e.g. the WASM target.
@jkotas jkotas merged commit bd07c4e into dotnet:master Mar 25, 2019
@MichalStrehovsky MichalStrehovsky deleted the comparers branch March 25, 2019 16:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants