For faster navigation, this Iframe is preloading the Wikiwand page for Brotli.

Brotli

Brotli
Brotli
开发者Jyrki Alakuijala和Zoltán Szabadka
当前版本
  • 1.1.0 (2023年8月31日;稳定版本)[1]
编辑维基数据链接
原始码库 编辑维基数据链接
编程语言C[2][a]
许可协议 编辑维基数据链接
网站github.com/google/brotli 编辑维基数据

Brotli是一个Jyrki Alakuijala和Zoltán Szabadka英语Zoltán Szabadka开发的开源数据压缩程序库[4][5]Brotli基于LZ77算法的一个现代变体、霍夫曼编码和二阶上下文建模英语Context_modeling

ChromeOperaFirefox中,它已被用于加速万维网的传输速度。[6]类似Google的压缩算法zopfli,brotli这个名字来自瑞士的烘培产品brötli英语Spanisch_Brötli[7]

演变

Brotli最初发布于2015年,用于网络字体的离线压缩。[8]Google软件工程师在2015年9月发布了包含通用无损数据压缩的Brotli增强版本,特别侧重于HTTP压缩。其中的编码器被部分改写以提高压缩比,编码器和解码器都提高了速度,流式API已被改进,增加更多压缩质量级别。新版本还展现了跨平台的性能改进,以及减少解码所需的内存。[7]

与常见的通用压缩算法不同,Brotli使用一个预定义的120千字节字典。该字典包含超过13000个常用单词、短语和其他子字符串,这些来自一个文本和HTML文档的大型语料库[9][10]预定义的算法可以提升较小文件的压缩密度。

使用brotli取代deflate来对文本文件压缩通常可以增加20%的压缩密度,而压缩与解压缩速度则大致不变。使用Brotli进行流压缩的内容编码类型已被提议使用“br”。[11]

使用

注解

  1. ^ Brotli's core is written in C, but it has bindings for Java, Python, C#, and Go.[3]

参见

参考资料

  1. ^ Release 1.1.0. 2023年8月31日 [2023年9月18日]. 
  2. ^ brotli/README.md at master. 4 April 2017 [21 April 2017]. (原始内容存档于2015-04-04) –通过GitHub. 
  3. ^ google/brotli - Brotli compression format. [11 August 2017]. (原始内容存档于2016-06-29) –通过GitHub. 
  4. ^ RFC 7932 - Brotli Compressed Data Format. IETF. 2017-02-17 [2017-02-16]. (原始内容存档于2017-01-29). 
  5. ^ Brotli Source Code - GitHub. github.com. [2016-07-01]. (原始内容存档于2016-06-29). 
  6. ^ Slater-Robbins, Max. Chrome and Firefox are about to get a lot faster thanks to Google's new data compression algorithm. techspot.com. 20 Jan 2016 [20 Jan 2016]. (原始内容存档于2016-05-30). 
  7. ^ 7.0 7.1 Google Open Source Blog: Introducing Brotli: a new compression algorithm for the internet. [2016-07-01]. (原始内容存档于2016-06-19). 
  8. ^ Smaller Fonts with WOFF 2.0 and unicode-range. Google Developers Blog. 18 Feb 2015 [20 Jan 2016]. (原始内容存档于2016-03-04). 
  9. ^ Richard Chirgwin. Google's new squeeze: Brotli compression open-sourced. The Register. 23 September 2015 [2016-07-01]. (原始内容存档于2016-05-02). 
  10. ^ Alakuijala, Jyrki; Kliuchnikov, Evgenii; Szabadka, Zoltan; Vandevenne, Lode. Comparison of Brotli, Deflate, Zopfli, LZMA, LZHAM and Bzip2 Compression Algorithms (PDF). Google. 2015-09-22 [25 October 2015]. (原始内容存档 (PDF)于2016-02-09). 
  11. ^ 谷歌新压缩算法因担心涉及性别歧视而改名. 开源中国社区. [2016-07-01]. (原始内容存档于2016-05-07). 
  12. ^ Firefox 44 release notes. mozilla.org. [2016-01-26]. (原始内容存档于2016-03-04). 
  13. ^ 13.0 13.1 13.2 Can I use... Support tables for HTML5, CSS3, etc. caniuse.com. [2016-01-07]. (原始内容存档于2017-04-08). 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
Brotli
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?