3 ms·
Does gzip actually use zlib? zlib's implementation (https://github.com/madler/zlib/blob/v1.1.3/inflate.c https://github.com/madler/zlib/blob/v1.1.3/inflate.c) l
by duckerude 6y ago
Does gzip actually use zlib? zlib's implementation (https://github.com/madler/zlib/blob/v1.1.3/inflate.c https://github.com/madler/zlib/blob/v1.1.3/inflate.c) looks different at first glance, gzip predates it by three years, and I believe gzip is also noticeably slower.
- masklinn 6y ago> Does gzip actually use zlib? If you go and download gzip 1.2.4a (the version mentioned) and open it, the first two lines state: /* inflate.c -- Not copyrighted 1992 by Mark Adler version c10p1, 10 January 1993 */ Note that the file you link to is copyrighted (rather than not-copyrighted) 1995-1998. Now maybe saying that it's zlib's is inexact because zlib did not actually exist at the time, but that doesn't really make a difference, it's basically the code to what would eventually become zlib, by zlib's author, under a hyper-permissive license.
- duckerude 6y agoSaying it's zlib's did confuse me. But I think I understand now, thank you.