gzip - Do not return from write after each inflate
authorMatthias Schmidt <matthias@dragonflybsd.org>
Fri, 1 Oct 2010 19:20:23 +0000 (21:20 +0200)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Fri, 1 Oct 2010 19:20:23 +0000 (21:20 +0200)
commit0965561d273a69e52ee2901273336461242322b3
tree14aa7f22843c0921391ca5d737818393072b58b6
parent1b1131cae4095bc0dbd49f6ff9a18572a8fd53fe
gzip - Do not return from write after each inflate

From FreeBSDs commit message:

In the past gunzip(1) write()'s after each inflate return.  This is
not optimal from a performance standpoint since the write buffer is
not necessarily be filled up when the inflate rountine reached the
end of input buffer and it's not the end of file.

Submitted-By: Xin LI <delphij@FreeBSD.org>
Obatined-From: FreeBSD
usr.bin/gzip/gzip.c