Repository navigation
build: pack the app with LZMA and the x86 branch filter (17.6 MB) - #3
Merged
Merged
Conversation
The download goes from 20.8 MB to 17.6 MB: 7-Zip's branch filter makes call targets repeat, LZMA (the LZMA SDK's public-domain C# code) finds them, and the starter loses Brotli's native code. First start ~5 s.
A bad dictionary size or literal setting under a matching id now says "damaged" instead of a raw overflow. Review nits: comments, ADR units.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The download goes from 20.8 MB to 17.6 MB, and the first start of a version from ~7 s to ~5 s.
Queueify.Launcher/Lzma).package.ps1's size budget goes from 24 to 20 MB. ADR-0008 records the measurements (Brotli 18.4, Brotli+BCJ 16.8, LZMA 17.6, LZMA+BCJ 15.9 MiB for the archive).Tests:
X86FilterTests(round trip on random data and real program code; calls to one function look alike after filtering), Bundle round trip with real executables, wrong headers under a matching id. The adversarial review fuzzed the filter against the reference Bra86.c (200,000 seeds, real DLLs, an 80 MB buffer) with no mismatch, and approved.🤖 Generated with Claude Code