# g1mv/density

Superfast compression library

Repository: https://github.com/g1mv/density
Canonical: https://ross.abutalabs.com/products/density
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-07-12T23:42:27+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 92, release rhythm 45, longevity 100
- inputs: {"age_days": 4715, "days_push": 52, "days_rel": 371, "gap_med": 14.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1045, forks 55 (observed 2026-08-28T04:03:21.595217+00:00)

## What it is
Density is a pure Rust lossless compression library focused on extreme compression speed while maintaining good compression ratios, using a novel 4-byte work unit design. It offers a simple API and includes built-in benchmarks against competitors like LZ4 and Snappy.

## Use cases
- compress large amounts of data as fast as possible
- find a compression algorithm on the speed/ratio pareto frontier
- integrate fast compression into a Rust project
- benchmark compression libraries on my own files
- replace lz4 or snappy with a faster alternative

## When to choose
- compression speed matters more than achieving the best ratio
- you need a pure Rust dependency with a simple API
- you process incompressible data and want blowup protection

## When to avoid
- you need maximum compression ratio regardless of speed
- you need a battle-tested, widely deployed algorithm for long-term archival
- you need specialized formats like gzip or zstd compatibility

## Facets
- artifact type: library
- maturity: active
- function: compression
- domain: performance, developer-tools
- platform: rust, cross-platform
- tags: lossless-compression, high-speed, lz77-style, benchmarking, algorithms

## Member repositories
- g1mv/density (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:21.595217+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:02:04.948346+00:00, confidence not recorded.
  - readme: https://github.com/g1mv/density (fetched 2026-08-28T04:03:21.595217+00:00, sha 08d9835b14f8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
