mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-26 08:02:23 +02:00
9 lines
175 B
Python
9 lines
175 B
Python
import functools
|
|
import volatility
|
|
|
|
|
|
def lru_cache(*args, **kwargs):
|
|
if not volatility.CACHING:
|
|
return lambda x: x
|
|
return functools.lru_cache(*args, **kwargs)
|