Optimizing for multiple deletions in a large list
The implementation of List<T> is optimized for looking up and adding items, so it doesn't perform as well as you might think when a large number of items are deleted from a list of hundreds of thousands.
Here's an example with the following code:
usi...
dimohy.slogs.dev2 min read