Increase RandomAccessFile::BUFFER_SIZE to 4096

This commit is contained in:
Jonathan G Rennison
2021-05-30 08:14:15 +01:00
parent e856ca7b69
commit 98e9a3991b

View File

@@ -22,7 +22,7 @@
*/ */
class RandomAccessFile { class RandomAccessFile {
/** The number of bytes to allocate for the buffer. */ /** 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 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. std::string simplified_filename; ///< Simplified lowecase name of the file; only the name, no path or extension.