fs/io/GunzipReader: increase buffer size to 64 kB
Reduces I/O overhead while reading a compressed database file.
This commit is contained in:
parent
60f2116202
commit
9c3e1d450a
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.21.22 (not yet released)
|
ver 0.21.22 (not yet released)
|
||||||
|
* database
|
||||||
|
- simple: reduce I/O overhead while reading database file
|
||||||
* input
|
* input
|
||||||
- curl: fix streaming errors on Android
|
- curl: fix streaming errors on Android
|
||||||
* playlist
|
* playlist
|
||||||
|
|
|
@ -36,7 +36,7 @@ class GunzipReader final : public Reader {
|
||||||
|
|
||||||
z_stream z;
|
z_stream z;
|
||||||
|
|
||||||
StaticFifoBuffer<Bytef, 4096> buffer;
|
StaticFifoBuffer<Bytef, 65536> buffer;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue