summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorBen Bridle <bridle.benjamin@gmail.com>2024-01-29 18:31:45 +1300
committerBen Bridle <bridle.benjamin@gmail.com>2024-01-31 07:37:54 +1300
commite4cdcf4f5082f90abd9e259ccc215ecbb1973ab5 (patch)
tree4e640ec225e65001c441fdefbce88d8328d835ee /Cargo.lock
parent521e525763723cbc5d65b37ff47f34af48f50a2f (diff)
downloadbedrock-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