Open pablobuenaposada opened 4 years ago
`from devices.formula import Formula f = Formula.vdo_323_057
import timeit result = timeit.repeat("for x in range(100): f(x)", "from main import f", number=1000) print(result)`
you can check with this code how to time test the improvement that lru_cache gives
`from devices.formula import Formula f = Formula.vdo_323_057
import timeit result = timeit.repeat("for x in range(100): f(x)", "from main import f", number=1000) print(result)`
you can check with this code how to time test the improvement that lru_cache gives