Message 174599 - Python tracker
Message174599
| Author | ezio.melotti |
|---|---|
| Recipients | barry, brett.cannon, ezio.melotti, ncoghlan, pitrou, pjenvey, rhettinger, zzzeek |
| Date | 2012-11-03.02:29:29 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1351909770.84.0.0914879986562.issue16389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> re.compile() calls _compile() which has the lru_cache decorator so it > will trigger it. What's the point of using the lru_cache for compiled regexes? Unless I'm missing something, re.compile() should just return the compiled regex without going though lru_cache and needlessly wasting time and cache's slots. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2012-11-03 02:29:31 | ezio.melotti | set | recipients: + ezio.melotti, barry, brett.cannon, rhettinger, ncoghlan, pitrou, pjenvey, zzzeek |
| 2012-11-03 02:29:30 | ezio.melotti | set | messageid: <1351909770.84.0.0914879986562.issue16389@psf.upfronthosting.co.za> |
| 2012-11-03 02:29:30 | ezio.melotti | link | issue16389 messages |
| 2012-11-03 02:29:29 | ezio.melotti | create | |