Message384935
I do not like using _functools._lru_cache_wrapper. It is a deep implementation detail, private function of private module. Use functools.lru_cache. If it is few nanoseconds slower, that cost is only added at connection creation time. It is insignificant in any real application in comparison with IO and any real work with data. Thousands of short-living in-memory DB instances are only created in tests. |
|
Date |
User |
Action |
Args |
2021-01-12 13:32:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, berker.peksag, erlendaasland |
2021-01-12 13:32:42 | serhiy.storchaka | set | messageid: <1610458362.99.0.022718698874.issue42862@roundup.psfhosted.org> |
2021-01-12 13:32:42 | serhiy.storchaka | link | issue42862 messages |
2021-01-12 13:32:42 | serhiy.storchaka | create | |
|