Searched refs:lru_cache (Results 1 – 16 of 16) sorted by relevance
1117 f = self.module.lru_cache(maxsize=20)(orig)1155 @self.module.lru_cache(0)1171 @self.module.lru_cache(1)1187 @self.module.lru_cache(2)1209 builtins.len = self.module.lru_cache(4)(len)1220 @functools.lru_cache(maxsize=None)1224 @functools.lru_cache(maxsize=10)1235 @self.module.lru_cache(maxsize=None)1249 @self.module.lru_cache(maxsize=-10)1262 @self.module.lru_cache(maxsize)[all …]
15 @functools.lru_cache()
3501 wrapper = functools.lru_cache(maxsize=20)(func)
38 @functools.lru_cache(maxsize=256, typed=True)
1303 @functools.lru_cache()1315 @functools.lru_cache()1544 @functools.lru_cache()1970 @functools.lru_cache()
314 @functools.lru_cache(_MAXCACHE)
448 def lru_cache(maxsize=128, typed=False): function
467 _make_selector = functools.lru_cache()(_make_selector)
643 cached = functools.lru_cache()(func)
46 .. decorator:: lru_cache(maxsize=128, typed=False)85 @lru_cache(maxsize=32)108 @lru_cache(maxsize=None)385 (e.g. bypassing a caching decorator such as :func:`lru_cache`), this function
88 - Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy171 - Issue #28969: Fixed race condition in C implementation of functools.lru_cache.182 - Issue #29203: functools.lru_cache() now respects PEP 468 and preserves521 - Issue #28653: Fix a refleak in functools.lru_cache.2908 - Issue #25447: Copying the lru_cache() wrapper object now always works,3048 - Issue #25447: The lru_cache() wrapper objects now can be copied and pickled3525 - Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy4023 - Issue #28653: Fix a refleak in functools.lru_cache.4659 - Issue #25447: Copying the lru_cache() wrapper object now always works,5082 - Issue #25447: The lru_cache() wrapper objects now can be copied and pickled[all …]
8072 - Improve the memory utilization and speed of functools.lru_cache.9121 - Issue #13227: functools.lru_cache() now has an option to distinguish11334 - Issue #10586: The statistics API for the new functools.lru_cache has been12620 - Add lru_cache() decorator to the functools module.
124 * :func:`functools.lru_cache` has been mostly1152 Most of the :func:`~functools.lru_cache` machinery is now implemented in C, making
753 calls. :func:`functools.lru_cache` can save repeated queries to an external760 >>> @functools.lru_cache(maxsize=300)
1390 The :func:`functools.lru_cache` decorator now accepts a ``typed`` keyword
526 @functools.lru_cache()