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

Compress Resource Files by Default #113

Merged
merged 3 commits into from
Sep 8, 2024
Merged

Compress Resource Files by Default #113

merged 3 commits into from
Sep 8, 2024

Conversation

Alexhuszagh
Copy link
Owner

Add support for compressed resource files by default. This uses per-resource compression and not per-file compression, first compiling all resources without compression, then compressions the entire resource bundle. This can be disabled using --use-default-compression in configure.py.

This has space savings of ~4.4MB (PyQt5) or 1.9M (everything else) to ~200KB, or ~90% to 95% space savings. Due to the time at startup for the UI initialization, the extra overhead is unlikely to be noticeable.

Closes #110.

@Alexhuszagh Alexhuszagh merged commit b47b503 into main Sep 8, 2024
32 checks passed
@Alexhuszagh Alexhuszagh deleted the compress branch September 8, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Large Resource File Sizes
1 participant