klauspost/compress
Optimized Go Compression Packages observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 84
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 40.0
- age_days: 4061
- days_rel: 27
- days_push: 16
- n_releases_24m: 13
Adoption not part of the score
5613 stars · 390 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A collection of optimized pure-Go compression packages including zstandard, S2 (a Snappy replacement), and drop-in replacements for gzip, zip, zlib, flate, and lzw. It offers faster compression/decompression than the Go standard library, with optional assembly acceleration and concurrent stream encoding.
Use cases
- compress data faster than the Go standard library
- read and write zstd compressed streams in Go
- replace gzip/zip/zlib with a faster drop-in
- compress HTTP responses and handle gzipped requests
- high-throughput Snappy-style compression with S2
- parallel gzip compression
When to choose
- you need faster compression or decompression than compress/* in Go
- you want pure-Go zstd without cgo
- you need concurrent or streaming compression in Go services
When to avoid
- you are not using Go
- you need exotic formats like brotli or lz4
- you only need trivial compression where the standard library suffices
Facets
library · maturity active
compression serialization developer-tools performance files go cross-platform zstd gzip snappy s2 deflate zip lzw huffman-encoding drop-in-replacement
1 source
- readme: https://github.com/klauspost/compress · fetched 2026-08-28 · 0c6b1e54a231
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| klauspost/compress | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="klauspost/compress")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem