fs/io/BufferedReader: larger default buffer (4 kB -> 16 kB)
Reduce I/O overhead.
This commit is contained in:
parent
a689b881d3
commit
9b11caa0e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user