Open theotherp opened 8 years ago
I want to make memoization depend on a configuration value that is loaded when the program is started. Unfortunately memoize being a decorator "unless" is evaluated before that happens. Any idea on how to achieve this?
I want to make memoization depend on a configuration value that is loaded when the program is started. Unfortunately memoize being a decorator "unless" is evaluated before that happens. Any idea on how to achieve this?