Message308439
Since normal dict preserves insertion order, OrderedDict usage
will be decreased. So I don't think 2x memory consumption is
big issue.
BTW, functools.lru_cache uses custom doubly-linked list which
is much memory inefficient.
Rewriting it to use OrderedDict will reduce memory usage significantly. |
|
Date |
User |
Action |
Args |
2017-12-16 01:39:15 | methane | set | recipients:
+ methane, arigo, rhettinger, vstinner, aronacher, eric.snow, serhiy.storchaka |
2017-12-16 01:39:15 | methane | set | messageid: <1513388355.27.0.213398074469.issue31265@psf.upfronthosting.co.za> |
2017-12-16 01:39:15 | methane | link | issue31265 messages |
2017-12-16 01:39:13 | methane | create | |
|