Input-Output Bottlenecks
Input-output is generally a slow process.
- Disk and network access are often involved.
A single large read/write probably takes little more time than a small read/write.
Buffered classes bundle multiple read/write operations into fewer.
- Read more than is required.
- Delay writing until more is ready.