Message174993
| Author |
serhiy.storchaka |
| Recipients |
barry, brett.cannon, ezio.melotti, jcea, ncoghlan, pitrou, pjenvey, rhettinger, serhiy.storchaka, zzzeek |
| Date |
2012年11月06日.16:46:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<201211061845.45038.storchaka@gmail.com> |
| In-reply-to |
<1352140205.63.0.169596192108.issue16389@psf.upfronthosting.co.za> |
| Content |
> I think the lru_cache should be kept if possible (i.e. I'm -0.5 on your patch).
This patch is only to show the upper level to which should be sought. I tried to optimize lru_cache(), but got only 15%. I'm afraid that serious optimization is impossible
without rewriting lru_cache() on C.
> 2) avoid using it for regular expressions compiled with re.compile;
I do not see how it can significantly affect performance. |
|