4 ms·
I went through my code and discovered that I seldom copy lists. I do often make selections from lists in a new list, i.e: b = [x for x in a if someconditio
by Luyt 15y ago
I went through my code and discovered that I seldom copy lists. I do often make selections from lists in a new list, i.e:
b = [x for x in a if somecondition(x)]