fs/io/BufferedReader: larger default buffer (4 kB -> 16 kB)

Reduce I/O overhead.
This commit is contained in:
Max Kellermann 2020-04-02 17:17:06 +02:00
parent a689b881d3
commit 9b11caa0e6

View File

@ -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