gzip: new GZIP_BIG_MEM option
Enabling the config option on my standard linux box and zipping a random 250mb file: small mem: 21.85user 0.44system 0:22.35elapsed big mem: 13.45user 0.46system 0:13.94elapsed Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
880eec8f33
commit
c2a06db69d
@@ -81,7 +81,11 @@ aa: 85.1% -- replaced with aa.gz
|
||||
|
||||
/* ===========================================================================
|
||||
*/
|
||||
#define SMALL_MEM
|
||||
#if ENABLE_GZIP_BIG_MEM
|
||||
# define BIG_MEM
|
||||
#else
|
||||
# define SMALL_MEM
|
||||
#endif
|
||||
|
||||
#ifndef INBUFSIZ
|
||||
# ifdef SMALL_MEM
|
||||
|
||||
Reference in New Issue
Block a user