I have a very large list, and I'd like to iteratively remove the first 50 elements without copying it (as for example something like list[50:]).
My initial thought was by doing:
[list.pop(0) for i in range(50)]
What would be the most performant way to do this?