Skip to content

clearAllMemoizedCaches

miscellaneous · scripts/miscellaneous/clearAllMemoizedCaches.m

: clearAllMemoizedCaches ()

Forget every result that memoize has stored.

Memoized functions keep a table of past inputs and outputs so repeated calls are cheap; this empties all such tables at once, either to release memory or to force fresh computation.