[issue44555] Dictionary operations are LINEAR for any dictionary (for a particular code).

Dennis Sweeney report at bugs.python.org
Fri Jul 2 23:10:42 EDT 2021


Dennis Sweeney <sweeney.dennis650 at gmail.com> added the comment:

For what it's worth, using collections.OrderedDict gives constant-time behavior you're looking for.

----------
nosy: +Dennis Sweeney

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


More information about the Python-bugs-list mailing list