<AptiCode/>

Question 468: Which of the following decorators is used to cache the result of a function to improve performance?

tcs
wipro
infosys
general
aptitude
decorators
python-programming

The@functools.lru_cachedecorator is used to cache the result of a function with the least recently used (LRU) strategy, improving the performance by avoiding redundant calculations.