scamp.utilities.memoize
- scamp.utilities.memoize(obj: Callable) Callable [source]
Decorator used for memoization (see https://en.wikipedia.org/wiki/Memoization)
- Parameters:
obj – the function to be wrapped in a memoizer
- Returns:
the wrapped, memoized function