Skip to content

Trim with Squash - #250

Merged
SimonCropp merged 1 commit into
mainfrom
squash
Oct 7, 2026
Merged

SimonCropp merged 1 commit into
mainfrom
squash

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Adds Squash, which removes unreachable IL from the library straight after it compiles. Version 8.20.1.

EmptyFiles.dll for net48 goes from 394,240 to 81,408 bytes, and for net10.0 from 156,672 to 76,800. Most of what goes is unused Polyfill.

Unreachable IL, mostly unused Polyfill, is removed from EmptyFiles at build time.
Version 8.20.1.
@SimonCropp SimonCropp added this to the 8.20.1 milestone Oct 7, 2026
@SimonCropp
SimonCropp merged commit 2567528 into main Oct 7, 2026
5 checks passed
@SimonCropp
SimonCropp deleted the squash branch October 7, 2026 11:45
This was referenced Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant