I’m wondering: it this so much better than
a.into_iter().for_each(|x| if *x > 0 {t.push_back(x)} else {h.insert(x)});
?
(Edit: IMHO it’s worse.)
I’m wondering: it this so much better than
a.into_iter().for_each(|x| if *x > 0 {t.push_back(x)} else {h.insert(x)});
?
(Edit: IMHO it’s worse.)