HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by valarauca1 | Hacker News Reader
Parent
Full thread
valarauca1
·
Can't `Vec<u8>` serve the same purpose?
View on HN
tatterdemalion
·
Then 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.
Reply on news.ycombinator.com