Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. LZFSE

LZFSE

BSD-3-ClauseC

A Lempel-Ziv compression algorithm using Finite State Entropy coding for high-speed compression and decompression.

GitHubGitHub
1.8k stars191 forks0 contributors

What is LZFSE?

LZFSE is a lossless data compression algorithm and library that uses Lempel-Ziv style compression combined with Finite State Entropy (FSE) coding. It is designed to provide compression ratios similar to deflate (zlib) but with significantly higher compression and decompression speeds, making it ideal for performance-sensitive applications.

Target Audience

Developers and system engineers working on performance-critical applications, especially those in Apple ecosystems (iOS/macOS) or cross-platform projects requiring efficient data compression.

Value Proposition

LZFSE offers a compelling alternative to traditional compression libraries like zlib by delivering comparable compression ratios with much faster processing speeds, thanks to its modern Finite State Entropy coding implementation.

Overview

LZFSE compression library and command line tool

Use Cases

Best For

  • Compressing data in iOS or macOS applications where Apple's native compression APIs are used
  • High-performance data storage or transmission scenarios requiring fast compression and decompression
  • Embedded systems or mobile devices where CPU efficiency is critical
  • Cross-platform projects needing a portable, high-speed compression library
  • Command-line workflows where a fast compression tool is preferred over gzip or deflate
  • Applications balancing compression ratio and speed, such as real-time data processing

Not Ideal For

  • Data archiving systems where maximum compression ratio is prioritized over speed, as algorithms like LZMA may offer better compression.
  • Windows-only development environments without access to Unix-like build tools, since official support is limited to macOS and Linux.
  • Projects requiring compression libraries with extensive language bindings or a large community ecosystem, given only one Python binding is documented.

Pros & Cons

Pros

High-Speed Performance

Optimized for faster compression and decompression compared to deflate using zlib, as the README states it targets higher speed at similar ratios.

Modern Entropy Coding

Uses Finite State Entropy (FSE), a contemporary technique for efficient data representation, which enhances compression efficiency and speed.

Cross-Platform Builds

Supports building on macOS via Xcode and Linux via Makefile or CMake, providing flexibility for different development environments, as detailed in the README.

Command-Line Utility

Includes a standalone `lzfse` tool for easy compression and decompression from the terminal, with installation producing the binary in standard paths.

Lightweight C Library

Offers a minimal C library (`liblzfse.a`) with headers for seamless integration into performance-critical applications, as shown in the build outputs.

Cons

Limited Ecosystem

Only one Python binding is mentioned in the README, lacking support for other popular languages like Java or Rust, which increases integration effort.

Apple-Centric Design

Primarily targeted at Apple ecosystems (OS X and iOS), with build instructions focused on macOS and Linux, potentially neglecting Windows users and broader cross-platform needs.

Minimal Documentation

The README provides basic build steps but lacks comprehensive API documentation, usage examples, or performance benchmarks, which could hinder adoption and troubleshooting.

Frequently Asked Questions

Quick Stats

Stars1,819
Forks191
Contributors0
Open Issues22
Last commit3 years ago
CreatedSince 2016

Tags

#apple#c-library#command-line-tool#data-compression#lossless-compression#cross-platform#performance

Built With

X
Xcode
C
CMake
M
Makefile
C
C++

Included in

C/C++70.6k
Auto-fetched 1 day ago

Related Projects

zstdzstd

Zstandard - Fast real-time compression algorithm

Stars27,013
Forks2,462
Last commit23 days ago
brotlibrotli

Brotli compression format

Stars14,672
Forks1,335
Last commit1 day ago
LZ4LZ4

Extremely Fast Compression algorithm

Stars11,781
Forks1,535
Last commit22 days ago
libarchivelibarchive

Multi-format archive and compression library

Stars3,471
Forks916
Last commit2 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub