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)

276 points by nonadhocproblem 1 day ago github.com 91 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (3)

  1. This is amazing. I had a web app that uses zstd and converting it to misa77ec makes it load quite a bit faster and the files are a little smaller. The wasm binaries are also smaller for the encoder, a bit smaller for the decoder maybe, let me double check.
    Replies (1)
    1. Thanks, this made my day!

      Heads up though:

      1. The format is kinda unstable, and may change between versions, so please be careful if you choose to bring over later versions.

      2. Intended targets are 64-bit little-endian systems, and your app seems to be using wasm32. I think safety guarantees on corrupt input won't break for 32-bit systems (I really just use the 64-bit assumption for minor conveniences), but please have an agent do a sanity check on this, it should be relatively simple.

      Replies (1)
      1. Yeah, claude had to do some work converting it, but it works, and even on my 2014 laptop and my mid phone it's faster, and lighter than zstd. It's alright, I can update all the compressed files if I need to later.

        The search engine (decoder) in my app went from 35kb to 30kb when I switched to misa77.