From 98e9a3991b6eb13c7dcb5e91a25586bdde90943a Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 30 May 2021 08:14:15 +0100 Subject: [PATCH] Increase RandomAccessFile::BUFFER_SIZE to 4096 --- src/random_access_file_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/random_access_file_type.h b/src/random_access_file_type.h index ce0e9e3584..6717ce385c 100644 --- a/src/random_access_file_type.h +++ b/src/random_access_file_type.h @@ -22,7 +22,7 @@ */ class RandomAccessFile { /** The number of bytes to allocate for the buffer. */ - static constexpr int BUFFER_SIZE = 512; + static constexpr int BUFFER_SIZE = 4096; std::string filename; ///< Full name of the file; relative path to subdir plus the extension of the file. std::string simplified_filename; ///< Simplified lowecase name of the file; only the name, no path or extension.