Comment on Go vs. Rust: Writing a CLI ToolparentComments−steveklabnik6yOften, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.−kryps6yTip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.
Comments
Often, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.
Tip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.