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:

Wolfram Research (2007), ClearSystemCache, Wolfram Language function, https://reference.wolfram.com/language/ref/ClearSystemCache.html.

Text

Wolfram Research (2007), ClearSystemCache, Wolfram Language function, https://reference.wolfram.com/language/ref/ClearSystemCache.html.

BibTeX

@misc{reference.wolfram_2020_clearsystemcache, author="Wolfram Research", title="{ClearSystemCache}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ClearSystemCache.html}", note=[Accessed: 22-April-2021 ]}

BibLaTeX

@online{reference.wolfram_2020_clearsystemcache, organization={Wolfram Research}, title={ClearSystemCache}, year={2007}, url={https://reference.wolfram.com/language/ref/ClearSystemCache.html}, note=[Accessed: 22-April-2021 ]}

CMS

Wolfram Language. 2007. "ClearSystemCache." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ClearSystemCache.html.

APA

Wolfram Language. (2007). ClearSystemCache. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ClearSystemCache.html