Home
last modified time | relevance | path

Searched refs:lru_cache (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_functools.py1117 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 …]
Dtest_timeout.py15 @functools.lru_cache()
Dtest_inspect.py3501 wrapper = functools.lru_cache(maxsize=20)(func)
/external/python/cpython3/Lib/
Dfnmatch.py38 @functools.lru_cache(maxsize=256, typed=True)
Dipaddress.py1303 @functools.lru_cache()
1315 @functools.lru_cache()
1544 @functools.lru_cache()
1970 @functools.lru_cache()
Dre.py314 @functools.lru_cache(_MAXCACHE)
Dfunctools.py448 def lru_cache(maxsize=128, typed=False): function
Dpathlib.py467 _make_selector = functools.lru_cache()(_make_selector)
Dtyping.py643 cached = functools.lru_cache()(func)
/external/python/cpython3/Doc/library/
Dfunctools.rst46 .. 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
/external/python/cpython3/Misc/
DNEWS88 - Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy
171 - Issue #28969: Fixed race condition in C implementation of functools.lru_cache.
182 - Issue #29203: functools.lru_cache() now respects PEP 468 and preserves
521 - 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 pickled
3525 - Issue #28991: functools.lru_cache() was susceptible to an obscure reentrancy
4023 - 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 …]
DHISTORY8072 - Improve the memory utilization and speed of functools.lru_cache.
9121 - Issue #13227: functools.lru_cache() now has an option to distinguish
11334 - Issue #10586: The statistics API for the new functools.lru_cache has been
12620 - Add lru_cache() decorator to the functools module.
/external/python/cpython3/Doc/whatsnew/
D3.5.rst124 * :func:`functools.lru_cache` has been mostly
1152 Most of the :func:`~functools.lru_cache` machinery is now implemented in C, making
D3.2.rst753 calls. :func:`functools.lru_cache` can save repeated queries to an external
760 >>> @functools.lru_cache(maxsize=300)
D3.3.rst1390 The :func:`functools.lru_cache` decorator now accepts a ``typed`` keyword
/external/python/cpython3/Tools/clinic/
Dclinic.py526 @functools.lru_cache()