Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: misa77 – Up to 3x faster decompression than zstd, with better ratios (opens external site)

247 points by nonadhocproblem 14 hours ago github.com 81 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. So, is the speedup specific to the compression format or can (parts of) it applied to the zstd code base, too? If so, how much would that speed up zstd? At what cost (CPU load, memory usage)?
    Replies (1)
    1. It uses a different compression format from zstd, and I suspect that most of the speedups won't cleanly transfer. Broadly speaking, the speedup can be attributed to the format being much friendlier to properties of modern cores that older codecs probably didn't plan for (strong OoO execution, big ROBs and caches, etc).
      Replies (1)
      1. Zstd does make use of out of order execution, the author has a really nice blog where they explain some of the techniques they used: https://fastcompression.blogspot.com/2015/07/huffman-revisit...