Skip to content

Commit b5ec382

Browse files
committed
yes, portable.rs: change BUF_SIZE to 32 KiB
1 parent 27498d7 commit b5ec382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/uu/yes/src/platform/portable.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use std::io::{self, Write};
77

88
// it's possible that using a smaller or larger buffer might provide better performance
9-
pub(super) const BUF_SIZE: usize = 16 * 1024;
9+
pub(super) const BUF_SIZE: usize = 32 * 1024;
1010

1111
pub fn exec(bytes: &[u8]) -> io::Result<()> {
1212
let mut stdout = io::stdout().lock();

0 commit comments

Comments
 (0)