Message 174559 - Python tracker
Message174559
| 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:51 | pitrou | set | recipients: + pitrou, brett.cannon, rhettinger, ncoghlan, pjenvey, ezio.melotti, zzzeek |
| 2012-11-02 18:54:51 | pitrou | set | messageid: <1351882491.67.0.31460019476.issue16389@psf.upfronthosting.co.za> |
| 2012-11-02 18:54:51 | pitrou | link | issue16389 messages |
| 2012-11-02 18:54:51 | pitrou | create | |