aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2019-03-29 19:25:45 +0100
committerErlang/OTP <[email protected]>2019-03-29 19:25:45 +0100
commit370f7dcdaea7f2d506fb427f2dad02d627431727 (patch)
treee02121896f356f106d55c946e1fd4671f1456c32 /lib/kernel
parentd1330131457f117e12f0431533ea6a3152ea0536 (diff)
parent46e1565e73bc4490d29f0193146d4d75d9dba226 (diff)
downloadotp-370f7dcdaea7f2d506fb427f2dad02d627431727.tar.gz
otp-370f7dcdaea7f2d506fb427f2dad02d627431727.tar.bz2
otp-370f7dcdaea7f2d506fb427f2dad02d627431727.zip
Merge branch 'john/kernel/compressed-file-read-degradation/OTP-15706/ERIERL-336' into maint-21
* john/kernel/compressed-file-read-degradation/OTP-15706/ERIERL-336: erl_tar: Use read_ahead when reading compressed tar files kernel: Fix performance regression on reading compressed files
Diffstat (limited to 'lib/kernel')
-rw-r--r--lib/kernel/src/raw_file_io_inflate.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/raw_file_io_inflate.erl b/lib/kernel/src/raw_file_io_inflate.erl
index 7e9780310c..d3ed02dd03 100644
--- a/lib/kernel/src/raw_file_io_inflate.erl
+++ b/lib/kernel/src/raw_file_io_inflate.erl
@@ -26,7 +26,7 @@
-include("file_int.hrl").
--define(INFLATE_CHUNK_SIZE, (1 bsl 10)).
+-define(INFLATE_CHUNK_SIZE, (8 bsl 10)).
-define(GZIP_WBITS, (16 + 15)).
callback_mode() -> state_functions.