about using upx #6132
-
from the doc: In the case of a PyInstaller one-file executable that has been UPX-compressed, the full execution sequence is: i'm using like this: pyinstaller --upx-dir=xxxx -F 1.py why dont pyinstaller pack the final output binary automatically? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Because there is no point compressing an already compressed file. It'll give negligible size improvement (possibly even making it bigger) whilst slowing down startup because it needs to decompress everything twice. |
Beta Was this translation helpful? Give feedback.
Because there is no point compressing an already compressed file. It'll give negligible size improvement (possibly even making it bigger) whilst slowing down startup because it needs to decompress everything twice.