Closed nazar-pc closed 3 weeks ago
Instead of allocating unconditionally try to reuse original allocation if possible. BytesMut::from() tries to reuse allocation if possible.
BytesMut::from()
This will need a branch update before it can auto-merge, I’ll do that now.
Instead of allocating unconditionally try to reuse original allocation if possible.
BytesMut::from()
tries to reuse allocation if possible.Code contributor checklist: