ClearSystemCache

ClearSystemCache[]
clears internal system caches of stored results.

DetailsDetails

  • ClearSystemCache can be useful in generating worst-case 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]=
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »