mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Bump FileEncoder buffer size to 64 kB
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user