Message 113498 - Python tracker (original) (raw)
Alexander: yes, they are complementary. My patch improves set.difference, which always creates a new set. on the other hand improves in-place difference (via the -= operator or set.difference_update). Looking at the two patches, my patch will not improve in-place difference, and 's patch will not improve set.difference. So they are complementary.