Mathematica > Core Language > Tuning & Debugging > Low-Level System Optimization > ClearSystemCache >

ClearSystemCache

ClearSystemCache
clears internal system caches of stored results.
  • ClearSystemCache can be useful in generating worst-case timing results independent of previous computations.
The second evaluation uses a cached value:
Clearing the cache will force recomputation:
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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF