Message174599
> 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. |
|
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 | |
|