DragonFly BSD
DragonFly commits List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthias Schmidt <matthias@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Oct 2010 12:24:56 -0700 (PDT)

commit 0965561d273a69e52ee2901273336461242322b3
Author: Matthias Schmidt <matthias@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]