diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-13 08:26:49 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-10-20 08:52:56 +1100 |
| commit | 181ce631832b066febd966043f0accea91fb66d4 (patch) | |
| tree | 8c6d3020f5479be8806055574637ff02535cfe0e /compiler/rustc_interface/src | |
| parent | cc705b801236d064260bb67b3a0a25e4747fa7ec (diff) | |
| download | rust-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_interface/src')
0 files changed, 0 insertions, 0 deletions
