git: gzip - Do not return from write after each inflate

Matthias Schmidt matthias at crater.dragonflybsd.org
Fri Oct 1 12:27:08 PDT 2010


commit 0965561d273a69e52ee2901273336461242322b3
Author: Matthias Schmidt <matthias at dragonflybsd.org>
Date:   Fri Oct 1 21:20:23 2010 +0200

    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 at FreeBSD.org>
    Obatined-From: FreeBSD

Summary of changes:
 usr.bin/gzip/gzip.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0965561d273a69e52ee2901273336461242322b3


-- 
DragonFly BSD source repository





More information about the Commits mailing list