diff options
author | Ben Bridle <bridle.benjamin@gmail.com> | 2024-01-29 18:31:45 +1300 |
---|---|---|
committer | Ben Bridle <bridle.benjamin@gmail.com> | 2024-01-31 07:37:54 +1300 |
commit | e4cdcf4f5082f90abd9e259ccc215ecbb1973ab5 (patch) | |
tree | 4e640ec225e65001c441fdefbce88d8328d835ee /Cargo.lock | |
parent | 521e525763723cbc5d65b37ff47f34af48f50a2f (diff) | |
download | bedrock-pc-e4cdcf4f5082f90abd9e259ccc215ecbb1973ab5.zip |
Change stream device to use buffered streams
Wrapping stdin and stdout with BufReader and BufWriter makes reads and
writes more efficient by bundling multiple characters into a single
read or write operation. In practice, this hasn't made a difference to
running the numbers demo, but that demo spends the majority of processor
time converting values to decimal strings.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions