-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There is a lot of repeated content in languages.json, so using gzip compression can significantly reduce the size of the compiled binary file. On my windows machine with go1.22, it shows: - "processor/constants.go": 170k -> 20k, 150k reduced. - scc binary file: 8909k -> 8836.5k, 72.5k reduced. Gzip is very fast, as hyperfine reports there's nearly no harm on the performance.
- Loading branch information
1 parent
624d6c5
commit 4144d52
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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