This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maker
Recipients abacabadabacaba, belopolsky, eric.smith, ezio.melotti, maker, mark.dickinson, r.david.murray, rhettinger, stutzbach
Date 2012-09-23.15:59:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348415977.27.0.194835817099.issue8425@psf.upfronthosting.co.za>
In-reply-to
Content
Something like this would also need unit tests?

$ ./python.exe -m timeit -s "s= set(range(2000)); l = set(range(20000000)); s=s-l"
10000000 loops, best of 3: 0.0622 usec per loop
[48787 refs]
$ ./python.exe -m timeit -s "s= set(range(2000)); l = set(range(20000000)); s-=l"
10000000 loops, best of 3: 0.0591 usec per loop
[48787 refs]
History
Date User Action Args
2012-09-23 15:59:37makersetrecipients: + maker, rhettinger, mark.dickinson, belopolsky, eric.smith, stutzbach, ezio.melotti, r.david.murray, abacabadabacaba
2012-09-23 15:59:37makersetmessageid: <1348415977.27.0.194835817099.issue8425@psf.upfronthosting.co.za>
2012-09-23 15:59:36makerlinkissue8425 messages
2012-09-23 15:59:36makercreate