From 9c3e1d450a9a03172f9cc84dc19c3726d61d663b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 31 Mar 2020 15:07:18 +0200 Subject: [PATCH] fs/io/GunzipReader: increase buffer size to 64 kB Reduces I/O overhead while reading a compressed database file. --- NEWS | 2 ++ src/fs/io/GunzipReader.hxx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f0617e47d..0e9346ea6 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.21.22 (not yet released) +* database + - simple: reduce I/O overhead while reading database file * input - curl: fix streaming errors on Android * playlist diff --git a/src/fs/io/GunzipReader.hxx b/src/fs/io/GunzipReader.hxx index 817698f14..05e5330a9 100644 --- a/src/fs/io/GunzipReader.hxx +++ b/src/fs/io/GunzipReader.hxx @@ -36,7 +36,7 @@ class GunzipReader final : public Reader { z_stream z; - StaticFifoBuffer buffer; + StaticFifoBuffer buffer; public: /**