File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Original file line number Diff line number Diff line change @@ -158,11 +158,11 @@ The :mod:`functools` module defines the following functions:
158
158
bypassing the cache, or for rewrapping the function with a different cache.
159
159
160
160
An `LRU (least recently used) cache
161
- <https://en.wikipedia.org/wiki/Cache_algorithms#Examples > `_ works
162
- best when the most recent calls are the best predictors of upcoming calls (for
163
- example, the most popular articles on a news server tend to change each day).
164
- The cache's size limit assures that the cache does not grow without bound on
165
- long-running processes such as web servers.
161
+ <https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU) > `_
162
+ works best when the most recent calls are the best predictors of upcoming
163
+ calls (for example, the most popular articles on a news server tend to
164
+ change each day). The cache's size limit assures that the cache does not
165
+ grow without bound on long-running processes such as web servers.
166
166
167
167
In general, the LRU cache should only be used when you want to reuse
168
168
previously computed values. Accordingly, it doesn't make sense to cache
You can’t perform that action at this time.
0 commit comments