Skip to content

Commit 6c9083d

Browse files
committed
Use a smaller buffer
1 parent 67bffa1 commit 6c9083d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libutil/serialise.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ std::string Source::drain()
112112

113113
void Source::skip(size_t len)
114114
{
115-
std::array<char, 64 * 1024> buf;
115+
std::array<char, 8192> buf;
116116
while (len) {
117117
auto n = read(buf.data(), std::min(len, buf.size()));
118118
assert(n <= len);

0 commit comments

Comments
 (0)