Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write lines into an in-memory buffer before printing to stdout
Running them through an in-memory buffer first produces a 25% speedup (when tested against a 1.3MB file).
- Loading branch information
Showing
1 changed file
with
31 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters