about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-13 08:26:49 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-20 08:52:56 +1100
commit181ce631832b066febd966043f0accea91fb66d4 (patch)
tree8c6d3020f5479be8806055574637ff02535cfe0e /compiler/rustc_codegen_gcc
parentcc705b801236d064260bb67b3a0a25e4747fa7ec (diff)
downloadrust-181ce631832b066febd966043f0accea91fb66d4.tar.gz
rust-181ce631832b066febd966043f0accea91fb66d4.zip
Specialize `Bytes<R>::next` when `R` is a `BufReader`.
This reduces the runtime for a simple program using `Bytes::next` to
iterate through a file from 220ms to 70ms on my Linux box.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions