Skip to content

Remove all charsets from AoT builds#201

Merged
Karolina-Bogacka merged 1 commit intomainfrom
GH-154/remove-all-charsets
Aug 24, 2025
Merged

Remove all charsets from AoT builds#201
Karolina-Bogacka merged 1 commit intomainfrom
GH-154/remove-all-charsets

Conversation

@Ostrzyciel
Copy link
Member

Closes #154

It turned out that all these charsets were not really needed, they were only referenced in one gnarly class initializer that I patched here.

This reduced the binary size by another 5MB:

$ ls -lh
-rwxrwxr-x 1 piotr piotr  34M Aug 24 23:42 jelly-cli-skipflow-substitutes
-rwxrwxr-x 1 piotr piotr  29M Aug 25 00:07 jelly-cli-skipflow-substitutes-nocharset

Copy link
Collaborator

@Karolina-Bogacka Karolina-Bogacka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting case, all right

@Karolina-Bogacka Karolina-Bogacka merged commit 2541790 into main Aug 24, 2025
7 checks passed
@Karolina-Bogacka Karolina-Bogacka deleted the GH-154/remove-all-charsets branch August 24, 2025 22:20
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.

Remove unnecessary charsets in AOT builds

2 participants