Mercurial > octave
diff scripts/miscellaneous/clearAllMemoizedCaches.m @ 31247:3dae836c598c
doc: Expand and edit documentation for memoization (bug #60860)
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 30 Sep 2022 06:38:59 -0400 |
parents | a887ffb997a7 |
children | a40c0b7aa376 |
line wrap: on
line diff
--- a/scripts/miscellaneous/clearAllMemoizedCaches.m Thu Sep 29 20:31:52 2022 -0400 +++ b/scripts/miscellaneous/clearAllMemoizedCaches.m Fri Sep 30 06:38:59 2022 -0400 @@ -27,6 +27,10 @@ ## @deftypefn {} {} clearAllMemoizedCaches () ## Clear all memoized caches. ## +## Memoization maintains internal tables of which functions have been called +## with which inputs. This function clears those tables to free memory, +## or for a fresh start. +## ## @seealso{memoize} ## @end deftypefn