Python Set Intersection Complexity