[issue32338] Save OrderedDict import in re

STINNER Victor report at bugs.python.org
Mon Dec 18 04:26:16 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

> del d[next(iter(d))] is not O(1) on current dict implementation.

We are talking about a dictionary of 512 items in the worst case. On such very tiny collection, benchmarking matters more than O(...) complexity ;-)

----------
nosy: +vstinner

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


More information about the Python-bugs-list mailing list