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 terry.reedy
Recipients asvetlov, barry, brett.cannon, ezio.melotti, jcea, ncoghlan, pitrou, pjenvey, rhettinger, sbt, serhiy.storchaka, terry.reedy, zzzeek
Date 2013-02-15.23:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360972045.83.0.750016068517.issue16389@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-02-15 23:47:25terry.reedysetrecipients: + terry.reedy, barry, brett.cannon, rhettinger, jcea, ncoghlan, pitrou, pjenvey, ezio.melotti, zzzeek, asvetlov, sbt, serhiy.storchaka
2013-02-15 23:47:25terry.reedysetmessageid: <1360972045.83.0.750016068517.issue16389@psf.upfronthosting.co.za>
2013-02-15 23:47:25terry.reedylinkissue16389 messages
2013-02-15 23:47:25terry.reedycreate