Compare smaz vs LZHAM and see what are their differences.


Small strings compression library (by antirez)


Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed, C/C++ (by richgel999)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
smaz LZHAM
3 0
931 597
- -
0.0 0.0
about 2 years ago 10 months ago
C C++
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of smaz. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-13.
  • Advanced MessagePack capabilities
    4 projects | | 13 Oct 2021
    Choose the data compression algorithm based on the specifics of your data. For example, if you are working with lots of short strings, take a look at [*SMAZ](*
  • Improving short string compression.
    1 project | | 29 Jul 2021
    Take a look at this. Idea behind it seems nice, but it's fixed dictionary ("codebook") was clearly made for English language, and the algorithm itself is really simple. How can we impove on this? Dynamic dictionary won't do, since you have to store it somewhere, nullifying benefits of using such algorithm. Beyond that I have no idea.
  • C Deep
    80 projects | | 27 Feb 2021
    smaz - Efficient string compression library. BSD-3-Clause


Posts with mentions or reviews of LZHAM. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning LZHAM yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing smaz and LZHAM you can also consider the following projects:

zstd - Zstandard - Fast real-time compression algorithm

LZMA - (Unofficial) Git mirror of LZMA SDK releases

LZ4 - Extremely Fast Compression algorithm

zlib-ng - zlib replacement with optimizations for "next generation" systems.

LZMAT - git mirror of LZMAT (

brotli - Brotli compression format

Minizip-ng - Fork of the popular zip manipulation library found in the zlib distribution.

Snappy - A fast compressor/decompressor