deflate 在计算机语言里代表什么意思?

2013-05-23 22:36:18 +08:00
 andybest
字面本身我知道,是放气的意思,在chrome里看request header中会有:
Accept-Encoding:gzip,deflate

这里为什么会有deflate?

另外我在安装软件的时候会显示 deflating...

为什么会这样用?这个词在计算机语言里是什么意思?
2880 次点击
所在节点    问与答
4 条回复
tangzx
2013-05-23 22:42:00 +08:00
是zlib实现的一种压缩算法:http://zh.wikipedia.org/wiki/Zlib
013231
2013-05-23 22:42:09 +08:00
In computing, deflate is a data compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding. It was originally defined by Phil Katz for version 2 of his PKZIP archiving tool and was later specified in RFC 1951.

http://en.wikipedia.org/wiki/Deflate
tangzx
2013-05-23 22:42:52 +08:00
安装软件时应该不是指同一个意思,仅仅指展开压缩包的意思。
andybest
2013-05-23 22:44:32 +08:00
@tangzx @013231 非常感谢!

我是在apt-get install xxx的时候发现的 deflating... 应该是展开压缩包的意思

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/69957

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX