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

Code gen overhaul #577

Merged
merged 191 commits into from
Mar 9, 2021
Merged

Code gen overhaul #577

merged 191 commits into from
Mar 9, 2021

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Mar 9, 2021

Notable changes:

There is also much more yet to do, but this overhaul makes it a lot easier to tackle those improvements incrementally and more quickly.

Regarding the smaller code gen, compiling the monstrous windows-docs-rs project sees quite an improvement...

Before:

  • windows.rs: 338 MB
  • build: 26 minutes

After:

  • windows.rs: 177 MB
  • build: 16 minutes

While we continue to need the Rust compiler to get faster, generating less code is also helpful. 😉

@kennykerr kennykerr merged commit 6b37abc into master Mar 9, 2021
@kennykerr kennykerr deleted the winmd branch March 9, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant