[issue23359] Speed-up set_lookkey()

Serhiy Storchaka report at bugs.python.org
Sun Feb 1 09:50:59 CET 2015


Serhiy Storchaka added the comment:

>>> s = set()
>>> s.add(1<<64)
>>> s.add(2<<64)
>>> s.add(3<<64)
>>> list(s)
[36893488147419103232, 18446744073709551616, 55340232221128654848]
>>> s.discard(1<<64)
>>> s.discard(2<<64)
>>> s.add(3<<64)
>>> list(s)
[55340232221128654848, 55340232221128654848]

----------

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


More information about the Python-bugs-list mailing list