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.

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

BibTeX

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

BibLaTeX

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