diff options
author | Max Kellermann <max@musicpd.org> | 2020-04-02 17:17:06 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-04-02 17:17:27 +0200 |
commit | 9b11caa0e6222746219da3da58d98915f2d71fcb (patch) | |
tree | eb272149d0e7cde71440b79c2b6737e32f26f601 /src/fs/io | |
parent | a689b881d3a909c9075a832034c61c823443c2bc (diff) |
fs/io/BufferedReader: larger default buffer (4 kB -> 16 kB)
Reduce I/O overhead.
Diffstat (limited to 'src/fs/io')
-rw-r--r-- | src/fs/io/BufferedReader.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/io/BufferedReader.hxx b/src/fs/io/BufferedReader.hxx index 0835c3d35..5b3f6a9cc 100644 --- a/src/fs/io/BufferedReader.hxx +++ b/src/fs/io/BufferedReader.hxx @@ -40,7 +40,7 @@ class BufferedReader { public: explicit BufferedReader(Reader &_reader) noexcept - :reader(_reader), buffer(4096) {} + :reader(_reader), buffer(16384) {} /** * Reset the internal state. Should be called after rewinding |