Michele Orrù added the comment:

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]

----------
Added file: http://bugs.python.org/file27265/issue8425.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8425>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to