Author rhettinger
Recipients joshtriplett, rhettinger
Date 2021-01-01.01:56:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In addition to documenting the cache size, consider a substantial increase to the limit.   Compiled regex patterns tend to be very small.  We can afford to have a lot of them (tens of thousands seems reasonable to me).

Regarding the suggested alternative, ISTM that calling translate() directly doesn't help much.  For a cache miss, the overhead of the lru_cache() is very small relative to the work done by translate().
Date User Action Args
2021-01-01 01:56:17rhettingersetrecipients: + rhettinger, joshtriplett
2021-01-01 01:56:16rhettingersetmessageid: <>
2021-01-01 01:56:16rhettingerlinkissue42799 messages
2021-01-01 01:56:16rhettingercreate