andybest
V2EX  ›  问与答

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

  •  
  •   andybest · May 23, 2013 · 3397 views
    This topic created in 4770 days ago, the information mentioned may be changed or developed.
    字面本身我知道,是放气的意思,在chrome里看request header中会有:
    Accept-Encoding:gzip,deflate

    这里为什么会有deflate?

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

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

    我是在apt-get install xxx的时候发现的 deflating... 应该是展开压缩包的意思
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   845 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 20:35 · PVG 04:35 · LAX 13:35 · JFK 16:35
    ♥ Do have faith in what you're doing.