Terry J. Reedy added the comment:

Since switching from a simple custom cache to the generalized lru cache made a 
major slowdown, I think the change should be reverted. A dict + either 
occasional clearing or a circular queue and a first-in, first-out discipline is 
quite sufficient. There is no need for the extra complexity of a last-used, 
first out discipline.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16389>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to