home.social

#bzip3 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bzip3, aggregated by home.social.

  1. Ok, that was really unexpected. ;)

    #Compression #bzip3

    386,009,603 'IMG_8676.xcf'
    188,423,510 'IMG_8676.xcf.zst'  #(zstd --ultra -22 was used)
    179,906,528 'IMG_8676.xcf.xz'   #(xz -9e was used)
    179,719,797 'IMG_8676.xcf.7z'   #(highest options available on 7z were used, IIRC (original file))
    140,906,669 'IMG_8676.xcf.bz3'  #(just bzip3, no options specified)
    

    bzip3 is also the fastest out of these (with the given parameters)

  2. For text with a lot of repetition, #bzip3 still blows my mind. 😆

    rld@Intrepid:Documents$ for x in cat "gzip -9" "zstd --ultra -22" "xz -9e" "bzip2 -9" bzip3; do $x < weatherlog-2024.txt |wc -c |tr "\n" "\t"; echo "$x"; done
     1735300	cat
       80423	gzip -9
       63275	zstd --ultra -22
       53516	xz -9e
       52374	bzip2 -9
       40645	bzip3
    rld@Intrepid:Documents$ echo 1735300/40645 |bc -l
    42.69405830975519744125
    

    #Lossless #Compression #LosslessCompression

    P.S. times:

    real 1.49 zstd --ultra -22
    real 0.94 xz -9e
    real 0.23 bzip2 -9
    real 0.07 gzip -9
    real 0.06 bzip3
    real 0.00 cat
    

    DANG. 😂

  3. BZip3

    在 Hacker News 上看到 BZip3 的連結:「Bzip3: A spiritual successor to BZip2 (github.com/kspalaiologos)」。

    雖然名字看起來與 bzip2 有關,但看起來是不同的人弄出來的東西,不過有些經典的演算法有留下來用,像是 Burrows-Wheeler transform。

    另外值得一提的是,bzip2 是 1996 年出的 (不過 1.0 大約是 2000 年時出的),BZip3 的第一個 release 在 2022 年,這段時間也累積了不少有趣的演算法可以用。

    無損壓縮中如果期望有比較的壓縮率,目前比較常用的應該是 LZMA 類的演算法 (差不多是 2001 年出現的),用的工具通常會是 X

    blog.gslin.org/archives/2025/0

    #Computer #Murmuring #Software #bzip2 #bzip3 #compression #lzma #ratio #xz