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

Distribute COM interface friendly overloads across many classes #783

Merged
merged 1 commit into from
Nov 16, 2022

Commits on Nov 16, 2022

  1. Distribute COM interface friendly overloads across many classes

    In full generation, the `FriendlyOverloadExtensions.g.cs` file was by far the largest (over 10MB in size). The C# compiler compiles types in parallel, so a very large type represents a huge unit of work that cannot be broken down into parallel compilations. It also means very large allocations for the string that renders the entire string. Splitting this up into one class per COM interface should help compilation performance, particularly in our full generation test.
    AArnott committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    ba6b8c5 View commit details
    Browse the repository at this point in the history