mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 17:36:38 +00:00
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`