You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation does reduce the binary size but at the cost of increasing runtime memory usage, since the static compressed data can't be freed, thus still kept in memory (until OS decides to page it out).
I think it's not really a worthwell trade-off, if users do want smaller binaries, just use UPX, it decompresses in-place.
The text was updated successfully, but these errors were encountered:
@Jimmy-Z
I see. That is very interesting.
I am not familiar with UPX, but is it possible to achieve this without external dependencies?
For example, do we need to install something with apt commands?
AFAIK, yes, we need to install upx in the build script if we want to release compressed binaries, but I think a section in readme/FAQ like "if you want smaller binaries, you could use upx“ should be enough?
The current implementation does reduce the binary size but at the cost of increasing runtime memory usage, since the static compressed data can't be freed, thus still kept in memory (until OS decides to page it out).
I think it's not really a worthwell trade-off, if users do want smaller binaries, just use UPX, it decompresses in-place.
The text was updated successfully, but these errors were encountered: