http://www.differencebetween.net/technology/difference-between-zip-and-gzip/
ZIP vs GZIP
ZIP and GZIP are two very popular methods of compressing files, in order to save space, or to reduce the amount of time needed to transmit the files across the network, or internet. In general, GZIP is much better compared to ZIP, in terms of compression, especially when compressing a huge number of files.
Software that use the ZIP format are capable of both archiving and compressing the files together. These are two separate processes. Compression reduces the size of the file with the use of algorithms, while archiving combines multiple files, so that the output is a single file. GZIP is purely a compression tool, and relies on another tool, commonly TAR, to archive the files.
It might seem like a minor thing, but it can affect the experience of the user in certain instances. The common practice with GZIP, is to archive all the files into a single tarball before compression. In ZIP files, the individual files are compressed and then added to the archive. When you want to pull a single file from a ZIP, it is simply extracted, then decompressed. With GZIP, the whole file needs to be decompressed before you can extract the file you want from the archive. When pulling a 1MB file from a 10GB archive, it is quite clear that it would take a lot longer in GZIP, than in ZIP.
GZIP’s disadvantage in how it operates, is also responsible for GZIP’s advantage. Since the compression algorithm in GZIP compresses one large file instead of multiple smaller ones, it can take advantage of the redundancy in the files to reduce the file size even further. If you archive and compress 10 identical files with ZIP and GZIP, the ZIP file would be over 10 times bigger than the resulting GZIP file.
Although both can be used with almost any operating system, each is popular in certain systems. ZIP is very popular with the Windows operating system, and has even been incorporated into the features of the OS itself. GZIP has a large following in theUNIX-like operating systems, such as the many Linux distributions.
Summary:
1. GZIP can achieve better compression compared to ZIP.
2. ZIP is capable of archiving and compressing multiple files, while GZIP is only capable of compression.
3. You can easily extract individual files from a large ZIP file, but not from a GZIP tarball.
4. ZIP is fairly popular on Windows, while GZIP is more popular on UNIX-like operating systems
Read more: Difference Between ZIP and GZIP | Difference Between | ZIP vs GZIP http://www.differencebetween.net/technology/difference-between-zip-and-gzip/#ixzz38q4eTI5J
相关推荐
功能很强大,支持多种格式 使用简便.下载后解压有例子可以使用(非原创)
zlib 官方 SDK zlib 压缩 zlib1.2.8
7zip解压插件,可以查一下这个插件支持的挺多的
iphone文件解压缩zip-gzip zip是对文件操作,gzip在内存中对data进行操作的
PHP压缩类 zipArchive 有实例和说明。
含有zip.lzw.gzip等多种压缩算法的程序 含有zip.lzw.gzip等多种压缩算法的程序 含有zip.lzw.gzip等多种压缩算法的程序
C#写的Zip和Gzip压缩。vs2008打开里面有解压缩
FiveStarZip 压缩解压神器 v5.4.11.21248 x64 完全自发布者主开发的自由的...支持7z zip Gzip Bzip2 tar XZ文件的压缩和 rar zip 7z Gzip Bzip2 tar XZ文件的解压缩。本版本修改了界面主题。软件完全免费,请放心使用。
gzip-1.9.zip
文件中给出了 gzip主要压缩算法 实现包括 gzip zip deflate 等程序
解压缩程序(支持7z,rar,zip,Gzip),解压缩函数简单有方便
This is a shared library for Android, iOS, OSX, Windows, Linux and webGL to decompress 7z (7zip) files and to compress/decompress zip/gzip (.zip/.gz), LZ4 (.lz4), brotli (.br), fastLZ files and ...
基于java的开发源码-用GZIP压缩解压文件.zip 基于java的开发源码-用GZIP压缩解压文件.zip 基于java的开发源码-用GZIP压缩解压文件.zip 基于java的开发源码-用GZIP压缩解压文件.zip 基于java的开发源码-用GZIP压缩...
7Z ZIP TAR GZIP BZIP2 XZ LZIP DMG ISO 并支持解压这些格式: 7Z ZIP ZIPX RAR TAR GZIP BZIP2 XZ LZIP DMG ISO LZMA EXE CAB WIM PAX JAR WAR IPA APK APPX XPI CPGZ 便捷且强大 您在使用时甚至无需打开 ...
PKCS11.7 + gzip.exe + asm.zip + MsVSVC++1.52.7z 博客: http://write.blog.csdn.net/postedit/7777369 用到的资源
j2me zip 压缩及解压,不支持gzip格式
7Zip lzma LZ4 fastLZ zipgzip brotli multiplatform plugins
gzip的解压程序单独使用 gzip_for_png是原gzip中的inflate.cpp。他使用链表结构。 gzip_for_png—sun是inflate.cpp的改写版本(孙肖和)。他使用数组结构。 openpngVC_sun是使用数组结构的 VB openpng 的完全改写版...
使用GZip,BZip2,Zip对DataTable,DataSet压缩转换为XML C#自己做的
unity 7z lzma fastLZ zip fastLZ zipgzip 插件 unity 7z lzma fastLZ zip fastLZ zipgzip 插件