diff --git a/at_cache.md b/at_cache.md index f0a8a60..ddc8597 100644 --- a/at_cache.md +++ b/at_cache.md @@ -1 +1,13 @@ -# @cache \ No newline at end of file +# @cache +The @cache decorator can be import with. +´´´python +from functools import cache + +@cache +def some_loop_function(): + mod25 = [] + for i in range(1000): + if i%25: + mod25.append(i) + return mod25 +´´´ \ No newline at end of file