ClearSystemCache

ClearSystemCache[]

clears internal system caches of stored results.

Details

  • 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.

Examples

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]=

See Also

SetSystemOptions  SystemOptions  Update

Tutorials

Introduced in 2007
(6.0)