We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b817746 commit 35be0b9Copy full SHA for 35be0b9
marimo/_save/save.py
@@ -907,9 +907,9 @@ def fib(n):
907
908
`mo.cache` is similar to `functools.cache`, but with three key benefits:
909
910
- 1. `mo.cache` persists its cache even if the cell defining the
911
- cached function is re-run, as long as the code defining the function
912
- (excluding comments and formatting) has not changed.
+ 1. `mo.cache` persists its cache even if the cell defining the cached
+ function is re-run, as long as the code defining the function and
+ ancestors (excluding comments and formatting) has not changed.
913
2. `mo.cache` keys on closed-over values in addition to function arguments,
914
preventing accumulation of hidden state associated with
915
`functools.cache`.
0 commit comments