vec: add extract_if()#665
Conversation
4824e86 to
6707e51
Compare
|
Worth using |
Adapts alloc::vec::Vec::extract_if()
6707e51 to
13068d9
Compare
extract_if()#6654824e86 to
6707e51
Compare
|
Worth using |
Adapts alloc::vec::Vec::extract_if()
6707e51 to
13068d9
Compare
Adapts
alloc::vec::Vec::extract_if()to implementheapless::Vec::extract_if()I noticed that
vec::DrainstoresLenTinstead ofusizefor its internal indices. Should we do the same here to save a few bytes? I wasn't sure if it's worth it relative to the (also small) cost of casting back and forth betweenLenTandusize.