Uh oh!
There was an error while loading. Please reload this page.
vec: add extract_if() - #665
Conversation
4824e86 to
6707e51ComparehiSandog
commented
Jun 29, 2026
Worth using |
Adapts alloc::vec::Vec::extract_if()
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.