about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-16 04:05:32 +0000
committerbors <bors@rust-lang.org>2023-10-16 04:05:32 +0000
commit99592fdfa14ecbcf0f42f97d2cfa5ef8f3c289fe (patch)
tree9c72047b5d3e42418a4223b310f5db63006e7fdc /compiler/rustc_data_structures
parent58352c06497ac1cc8f7c49d30d6df967134efbaf (diff)
parent4d6810844e1b7a10af1da44d3217a66005866234 (diff)
downloadrust-99592fdfa14ecbcf0f42f97d2cfa5ef8f3c289fe.tar.gz
rust-99592fdfa14ecbcf0f42f97d2cfa5ef8f3c289fe.zip
Auto merge of #116775 - nnethercote:inline-Bytes-next, r=the8472
Inline `Bytes::next` and `Bytes::size_hint`.

This greatly increases its speed. On one small test program using `Bytes::next` to iterate over a large file, execution time dropped from ~330ms to ~220ms.

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