Serhiy Storchaka added the comment:

> (After OrderedDict implementation is improved, functools.lru_cache can use 
> OrderedDict and remove doubly linked list too.)

functools.lru_cache can use just ordered dict. But simple implementation is 1.5 
times slower. I'm working on this.

I think that changing implementation of lru_cache and OrderedDict is a new 
feature and can came only in 3.7, when new dict implementation will be more 
tested.

----------

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

Reply via email to