Skip to main content

Timeline for Remove group of elements from list

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
Dec 12, 2024 at 11:33 answer added Philipp timeline score: 2
Dec 11, 2024 at 17:25 vote accept Ahmed Dyaa
Dec 11, 2024 at 12:31 answer added CheckerT timeline score: 2
Dec 11, 2024 at 2:36 comment added Pikalek Is this a theoretical problem or do you have a performance issue based related to list filtering? Depending on your context it might be the case that lists are the wrong data structure for the underlying task. What are you doing with the lists? How large are they? How often do they change & by how much? Describing your actual problem is more likely to yield an actual solution.
Dec 11, 2024 at 1:15 comment added DMGregory Note that there is more than one answer at that link, including several that do not allocate a new list. You have a menu of options to choose from here. Is there a specific criterion you have that no answer posted at this link satisfies?
Dec 11, 2024 at 0:19 comment added Ahmed Dyaa I think no because the method in this answer depends on creating a new list which will consume more memory
Dec 11, 2024 at 0:07 comment added DMGregory Does this answer your question? Remove items from one list in another
Dec 10, 2024 at 21:21 history asked Ahmed Dyaa CC BY-SA 4.0