V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
andybest
V2EX  ›  问与答

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

  •  
  •   andybest · 2013-05-23 22:36:18 +08:00 · 2873 次点击
    这是一个创建于 4011 天前的主题,其中的信息可能已经有所发展或是发生改变。
    字面本身我知道,是放气的意思,在chrome里看request header中会有:
    Accept-Encoding:gzip,deflate

    这里为什么会有deflate?

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

    为什么会这样用?这个词在计算机语言里是什么意思?
    4 条回复    1970-01-01 08:00:00 +08:00
    tangzx
        1
    tangzx  
       2013-05-23 22:42:00 +08:00   ❤️ 1
    是zlib实现的一种压缩算法:http://zh.wikipedia.org/wiki/Zlib
    013231
        2
    013231  
       2013-05-23 22:42:09 +08:00   ❤️ 1
    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
        3
    tangzx  
       2013-05-23 22:42:52 +08:00   ❤️ 1
    安装软件时应该不是指同一个意思,仅仅指展开压缩包的意思。
    andybest
        4
    andybest  
    OP
       2013-05-23 22:44:32 +08:00
    @tangzx @013231 非常感谢!

    我是在apt-get install xxx的时候发现的 deflating... 应该是展开压缩包的意思
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1039 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:36 · PVG 04:36 · LAX 13:36 · JFK 16:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.