ClearSystemCache

ClearSystemCache[]

clears internal system caches of stored results.

ClearSystemCache[type]

clears only caches of the specified type.

Details

  • ClearSystemCache can be useful in generating worstcase timing results independent of previous computations.
  • In ClearSystemCache[type], possible values for type include:
  • "Numeric"clear only caches of numeric results
    "Symbolic"clear only caches of symbolic results

Examples

Basic Examples  (1)

The second evaluation uses a cached value:

Clearing the cache will force recomputation:

Introduced in 2007
 (6.0)