caching functions and methods with a numpy array as first argument from copy import copy from time import sleep array = np.random.rand(900,600) param = int(np.random.rand()*1000) print('\nwith @npCache:')