3 ms·
Can't `Vec<u8>` serve the same purpose?
by valarauca1 9y ago
Can't `Vec<u8>` serve the same purpose?
- tatterdemalion 9y agoThen you have to do a deep clone every time. Arc<Vec<u8>> is also not sufficient, because Bytes lets you share a reference count among slices to different offset into the buffer.