History of Idiom 247 > diff from v17 to v18
Edit summary for version 18 by programming-idioms.org:
[Rust] +DemoURL
[Rust] +DemoURL
↷
Version 17
2021-03-09, 12:06:17
Version 18
2021-03-10, 09:28:59
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.
Comments bubble