antirez/smaz
Small strings compression library observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6364
- days_rel: n/a
- days_push: 2504
- n_releases_24m: 0
Adoption not part of the score
1221 stars · 133 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Smaz is a small C compression library specialized for compressing very short strings, where general-purpose compressors like zlib fail. It compresses English text by 40-50% on average and can shrink even 2-3 byte strings.
Use cases
- compress short strings for storage or transmission
- shrink URLs before storing them in a database
- reduce memory of small text keys in embedded systems
- compress text too short for zlib to help
- store compact English phrases in constrained memory
When to choose
- you need to compress strings of a few bytes to a few dozen bytes
- your data is mostly lowercase English text or URLs
- you want a tiny dependency-free C library with a two-function API
When to avoid
- you need general-purpose compression of large files or binary data
- your strings contain lots of numbers or random data
- you need maximum compression ratios on long documents
Facets
library · maturity maintenance
compression developer-tools cross-platform c short-strings text-compression embedded-friendly algorithms
1 source
- readme: https://github.com/antirez/smaz · fetched 2026-08-28 · cf35bb79a02c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| antirez/smaz | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem