I have a slice of &[u8] and I\'d like to append it to a Vec with minimal copying. Here are two approaches that I know work:
&[u8]
Vec
I can't speak for the full performance implications, but v + &s will work on beta, which I believe is just similar to pushing each value onto the original Vec.
v + &s