[issue32422] Make OrderedDict can be used for LRU from C
Raymond Hettinger
report at bugs.python.org
Sun Dec 24 13:28:58 EST 2017
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Please stop revising every single thing you look at. The traditional design of LRU caches used doubly linked lists for a reason. In particular, when there is a high hit rate, the links can be updated without churning the underlying dictionary.
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32422>
_______________________________________
More information about the Python-bugs-list
mailing list