History of Idiom 247 > diff from v15 to v16
Edit summary for version 16 by Zs:
New Rust implementation by user [Zs]
New Rust implementation by user [Zs]
↷
Version 15
2021-01-23, 23:43:06
Version 16
2021-02-21, 12:56:01
Idiom #247 Filter list in-place
Remove all the elements from list x that don't satisfy the predicate p, without allocating a new list.
Keep all the elements that do satisfy p.
For languages that don't have mutable lists, refer to idiom #57 instead.
Idiom #247 Filter list in-place
Remove all the elements from list x that don't satisfy the predicate p, without allocating a new list.
Keep all the elements that do satisfy p.
For languages that don't have mutable lists, refer to idiom #57 instead.