Bump FileEncoder buffer size to 64 kB

This commit is contained in:
John Kåre Alsaker
2025-04-10 17:40:48 +02:00
parent 7d7de5bf3c
commit 74ca12951c
+1 -1
View File
@@ -19,7 +19,7 @@
pub const MAGIC_END_BYTES: &[u8] = b"rust-end-file";
/// The size of the buffer in `FileEncoder`.
const BUF_SIZE: usize = 8192;
const BUF_SIZE: usize = 64 * 1024;
/// `FileEncoder` encodes data to file via fixed-size buffer.
///