[issue31265] Remove doubly-linked list from C OrderedDict
Eric Snow
report at bugs.python.org
Tue Sep 12 09:33:14 EDT 2017
Eric Snow added the comment:
> It means rebuilding hash table to clean up dummy entries.
> So, even when dict size is not increasing, remove + insert loop has
> worst case O(n), amortized O(1) complexity.
Ah, so it matches the pure Python implementation then.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31265>
_______________________________________
More information about the Python-bugs-list
mailing list