Skip to content

Conversation

@stepancheg
Copy link
Contributor

From<Bytes> implementation is suboptimal: can be optimized for
certain representations of Bytes.

`From<Bytes>` implementation is suboptimal: can be optimized for
certain representations of `Bytes`.
@stepancheg stepancheg force-pushed the bytes-mut-from-bytes branch from 865ebcd to 599d089 Compare March 28, 2021 16:25
@stepancheg stepancheg changed the title impl From<Bytes> anf From<Vec<u8>> for BytesMut impl From<Bytes> and From<Vec<u8>> for BytesMut Mar 28, 2021
@taiki-e
Copy link
Member

taiki-e commented Apr 10, 2021

I think it's intentional that From<Vec<u8>> has not been provided. See also previous discussion: #414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants