ClearSystemCache

ClearSystemCache[]
clears internal system caches of stored results.

DetailsDetails

  • ClearSystemCache can be useful in generating worstcase timing results independent of previous computations.
  • ClearSystemCache["Numeric"] clears only caches of numeric results.
  • ClearSystemCache["Symbolic"] clears only caches of symbolic results.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

The second evaluation uses a cached value:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Clearing the cache will force recomputation:

In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
Introduced in 2007
(6.0)