Duistere Pluizenbal on Nostr: The good news, compiling libzstd with ZSTD_LIB_MINIFY=1 brings it down to 164k while ...
The good news, compiling libzstd with ZSTD_LIB_MINIFY=1 brings it down to 164k while still easily beating zlib (100k) in terms of performance and ratio.
The bad news, 164k is still pretty significant on the ncdu static binary:
582k ncdu-2.5
601k ncdu-new-nocompress
765k ncdu-new-zstd
Let's see if I can find other sources of bloat to throw away.
Published at
2024-08-02 17:27:21Event JSON
{
"id": "71ea510a77a0b9ee318a3d1819dea7e3dc0505985859da037f7ebc440ed96cf7",
"pubkey": "6dd915cc3f1f20f651a99b566c7c1ebb34a071a820f113b9aaf419c346b0e37d",
"created_at": 1722619641,
"kind": 1,
"tags": [
[
"emoji",
"blobshrug",
"https://files.lonely.town/custom_emojis/images/000/000/692/original/b69dc9cab71a0885.png"
],
[
"proxy",
"https://lonely.town/users/ayo/statuses/112893600799329707",
"activitypub"
]
],
"content": "The good news, compiling libzstd with ZSTD_LIB_MINIFY=1 brings it down to 164k while still easily beating zlib (100k) in terms of performance and ratio.\n\nThe bad news, 164k is still pretty significant on the ncdu static binary:\n\n582k ncdu-2.5\n601k ncdu-new-nocompress\n765k ncdu-new-zstd\n\nLet's see if I can find other sources of bloat to throw away. :blobshrug:",
"sig": "be8206065a2032da9451987847a66f079734e2f8a85d3590461f942cd564e33ab3410b810d59be8a6cff29defc4145dad5fda91668b8bbed0bd719e981b6bf2c"
}