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 pitrou
Recipients brett.cannon, ezio.melotti, ncoghlan, pitrou, pjenvey, rhettinger, zzzeek
Date 2012-11-02.18:54:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351882491.67.0.31460019476.issue16389@psf.upfronthosting.co.za>
In-reply-to
Content
lru_cache() seems to use a complicated make_key() function, which is invoked on each cache hit. The LRU logic is probably on the slow side too, compared to a hand-coded logic which would favour lookup cost over insertion / eviction cost.
History
Date User Action Args
2012-11-02 18:54:51pitrousetrecipients: + pitrou, brett.cannon, rhettinger, ncoghlan, pjenvey, ezio.melotti, zzzeek
2012-11-02 18:54:51pitrousetmessageid: <1351882491.67.0.31460019476.issue16389@psf.upfronthosting.co.za>
2012-11-02 18:54:51pitroulinkissue16389 messages
2012-11-02 18:54:51pitroucreate