Dennis Sweeney <[email protected]> added the comment:
For what it's worth, using collections.OrderedDict gives constant-time behavior you're looking for. ---------- nosy: +Dennis Sweeney _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue44555> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
