[issue43198] Operations on sets more than hundred times less efficient with python3.9 than with previous versions

Raymond Hettinger report at bugs.python.org
Mon Mar 8 21:49:32 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I've had misgivings about this and will revert the change for Python 3.10.  

Usually, it is safe for sets to implement whatever has been battle-tested with dicts, but sets should aspire to do better for alternating deletions and re-additions of the same element, even if that isn't a common case.

----------
nosy: +tim.peters
resolution: not a bug -> 
status: closed -> open
versions: +Python 3.10 -Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43198>
_______________________________________


More information about the Python-bugs-list mailing list