about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-20 04:01:07 +0000
committerbors <bors@rust-lang.org>2023-10-20 04:01:07 +0000
commit029d00c4a3176a705e0092de3e1739f8b7c32010 (patch)
tree1fd059b60b64415b1e2d48c62ef8e2c7bcd35c0e /compiler/rustc_codegen_gcc
parentae466d2d0a82f460afa6cfeb4b424d82b26e1e6d (diff)
parent181ce631832b066febd966043f0accea91fb66d4 (diff)
downloadrust-029d00c4a3176a705e0092de3e1739f8b7c32010.tar.gz
rust-029d00c4a3176a705e0092de3e1739f8b7c32010.zip
Auto merge of #116785 - nnethercote:spec-Bytes-read, r=the8472
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.

r? `@the8472`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions