Description
Keeps recently used Python values in memory so repeated work can be skipped. The LRU behavior removes older entries first, which is useful for speeding up calculations or lookups while keeping memory use bounded.
Developers add it to code as a library or decorator; it does not create a visible app. Use it when cached results are safe to reuse and when the application can tolerate old entries being discarded automatically.