[issue8685] set(range(100000)).difference(set()) is slow

Andrew Bennetts report at bugs.python.org
Tue May 11 11:24:08 CEST 2010


Andrew Bennetts <spiv at users.sourceforge.net> added the comment:

Oops, obvious bug in this patch. set('abc') - set('bcd') != set('bcd') - set('abc').  I'll see if I can make a more sensible improvement.

See also <http://bugs.python.org/issue8425>.  Thanks dickinsm on #python-dev.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8685>
_______________________________________


More information about the Python-bugs-list mailing list