perf improvement - larger read buffer

This commit is contained in:
2025-08-19 19:59:59 -04:00
parent 8bc589ba91
commit 16bf9a0c2e

View File

@@ -64,7 +64,7 @@ fn main() {
let stdin = stdin();
let mut lock = stdin.lock();
let mut buf = [0u8; 1024];
let mut buf = [0u8; 1_000_000];
while let Ok(count) = lock.read(&mut buf) {
if count > 0 {