RepositoryTypeScriptUSHoa Kỳ
google

google/brotli

Brotli compression format

15.2ksao
1.4kfork
85issue
0lượt xem

📦 Brotli: Efficient Lossless Compression from Google

A generic-purpose, stream-based compression format standardized in RFC 7932.

Brotli is an open-source lossless compression algorithm developed by Google. It combines a modern variant of the LZ77 algorithm, Huffman coding, and 2nd order context modeling to achieve compression ratios comparable to the best general-purpose methods, while maintaining speed similar to deflate.

✨ Highlights

  • Modern LZ77 Variant: Uses an advanced version of the LZ77 algorithm for efficient data compression.
  • Huffman Coding: Integrates Huffman coding to optimize symbol representation.
  • 2nd Order Context Modeling: Enhances compression density through predictive modeling.
  • RFC 7932 Compliant: Specification defined in the official RFC 7932.
  • Stream Format: Designed as a stream format without checksums or metadata.
  • Cross-Language Support: Available via package managers, CMake, Python pip, and more.
  • Fuzzing Verified: Continuously tested with OSS-Fuzz for robustness.
  • Open Source: Released under the MIT License.

💡 Why it matters

Brotli stands out by offering more dense compression than traditional methods like deflate while maintaining comparable speed. Its integration into web technologies and widespread adoption in HTTP compression makes it a preferred choice for optimizing web performance and reducing bandwidth usage.


#Brotli #Compression #RFC7932 #TiniX