We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BytesMut::resize
The current implementation of BytesMut::resize is not inlined, which may lead to unnecessary function calls.
[Current implementation](
bytes/src/bytes_mut.rs
Lines 479 to 500 in e0f3a25
Partially inline BytesMut::resize to reduce function call overhead and improve performance.
[Updated implementation](https://github.com/Sol-Ell/bytes/blob/ed9989b499cf390340cf255548d7a898aea29ad3/src/bytes_mut.rs#L479-L500)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The current implementation of
BytesMut::resize
is not inlined, which may lead to unnecessary function calls.[Current implementation](
bytes/src/bytes_mut.rs
Lines 479 to 500 in e0f3a25
Proposed Solution
Partially inline
BytesMut::resize
to reduce function call overhead and improve performance.[Updated implementation](https://github.com/Sol-Ell/bytes/blob/ed9989b499cf390340cf255548d7a898aea29ad3/src/bytes_mut.rs#L479-L500)
The text was updated successfully, but these errors were encountered: