to avoid reallocations you could use let mut y = Vec::with_capacity(im_vec.len());
, though apparently the iterator syntax does the same in some cases
to avoid reallocations you could use let mut y = Vec::with_capacity(im_vec.len());
, though apparently the iterator syntax does the same in some cases