2 ms·
Often, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.
by steveklabnik 6y ago
Often, slow file reading means that you didn't use a BufReader, and are making more system calls than you need to.
- kryps 6y agoTip: Rust BufReaders default to 8KiB buffers which are way too small for high-performance sequential NVME I/O.