Author serhiy.storchaka
Recipients berker.peksag, erlendaasland, rhettinger, serhiy.storchaka
Date 2021-01-12.13:32:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610458362.99.0.022718698874.issue42862@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-01-12 13:32:43serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, berker.peksag, erlendaasland
2021-01-12 13:32:42serhiy.storchakasetmessageid: <1610458362.99.0.022718698874.issue42862@roundup.psfhosted.org>
2021-01-12 13:32:42serhiy.storchakalinkissue42862 messages
2021-01-12 13:32:42serhiy.storchakacreate