Updated at_cache (markdown)

Lerking
2024-03-12 08:33:00 +01:00
parent bd5d5a13ad
commit 1449ad3279

@@ -1 +1,13 @@
# @cache
# @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
´´´