{"by":"nonadhocproblem","descendants":49,"id":48922838,"kids":[48925428,48925984,48924676,48925038,48924327,48924298,48924610,48923500,48924859,48925308,48960936,48924297,48930947,48925268,48926196,48927311,48924426],"score":164,"text":"I&#x27;ve spent the last few months working on this codec.<p>It has the following characteristics:<p><pre><code>  - SOTA decompression throughput in its ratio class\n  - Decent ratios (comparable to LZ4 at high effort levels)\n  - Slow compression\n</code></pre>\nMost of the gains can be attributed to reducing branches and making decompression very friendly to out-of-order cores, by using a smart format.<p>Results on the tarred Silesia corpus on Intel x86-64 follow:<p><pre><code>  codec       decode      ratio    encode\n  misa77 -0   5219 MB&#x2F;s   42.64%   54.5 MB&#x2F;s\n  misa77 -1   4274 MB&#x2F;s   39.65%   51.2 MB&#x2F;s\n  lz4         2505 MB&#x2F;s   47.59%   371 MB&#x2F;s\n  lz4hc -12   2531 MB&#x2F;s   36.45%   7.31 MB&#x2F;s</code></pre>","time":1784131139,"title":"Show HN: misa77 - a codec that decodes 2x faster than LZ4 (at better ratios)","type":"story","url":"https://github.com/welcome-to-the-sunny-side/misa77"}