This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients arigo, aronacher, eric.snow, methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-12-16.01:39:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513388355.27.0.213398074469.issue31265@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-12-16 01:39:15methanesetrecipients: + methane, arigo, rhettinger, vstinner, aronacher, eric.snow, serhiy.storchaka
2017-12-16 01:39:15methanesetmessageid: <1513388355.27.0.213398074469.issue31265@psf.upfronthosting.co.za>
2017-12-16 01:39:15methanelinkissue31265 messages
2017-12-16 01:39:13methanecreate