-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
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
Export BytesMut::from_vec(vec)
#615
Comments
That seems reasonable to me. We can add it as a |
The comments on Lines 824 to 829 in 327615e
|
Yes, good point, thanks. |
While it's true that the allocation behind Some libraries use I don't see how that's any better than letting us have a EDIT: Meant |
+1 for But I'm curious why Lines 1030 to 1050 in 2d996a2
And, there is a Lines 964 to 997 in 2d996a2
So, transitively, |
Hi, can we expose
BytesMut::from_vec
? Which can help avoid copying when building aBytesMut
fromVec<u8>
The text was updated successfully, but these errors were encountered: