# HG changeset patch # User Matti Hamalainen # Date 1530402263 -10800 # Node ID 33c29e7d1861246a5cf319673585a5d06260618b # Parent 5f9e8dd62c70d2017e818511641d2b1ed0d39e67 Increase the zlib compression buffer size to 1MB to improve the efficiency. diff -r 5f9e8dd62c70 -r 33c29e7d1861 tests/dzlibtest.c --- a/tests/dzlibtest.c Sun Jul 01 02:35:42 2018 +0300 +++ b/tests/dzlibtest.c Sun Jul 01 02:44:23 2018 +0300 @@ -5,7 +5,7 @@ #include -#define SET_TMPBUF_SIZE (16 * 1024) +#define SET_TMPBUF_SIZE (1024 * 1024) char *optInFilename = NULL, *optOutFilename = NULL; diff -r 5f9e8dd62c70 -r 33c29e7d1861 tools/packed.c --- a/tools/packed.c Sun Jul 01 02:35:42 2018 +0300 +++ b/tools/packed.c Sun Jul 01 02:44:23 2018 +0300 @@ -13,7 +13,7 @@ #define SET_MAX_FILES (4096) -#define SET_TMPBUF_SIZE (128 * 1024) +#define SET_TMPBUF_SIZE (1024 * 1024) enum {