Re: Clearing cache
- To: mathgroup at smc.vnet.net
- Subject: [mg29829] Re: Clearing cache
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 13 Jul 2001 04:19:12 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <9ijhoq$rhp$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, ?Developer`ClearCache "ClearCache[ ] clears internal caches of stored results." Mathematica save some results for speed. You will see this if you call FullSimplify[] two times on a complicated expression, the second call is usual much faster because the simplifications are cached. ClearCache[] remove *these* results, but it leaves the definitions of your session untouched. So, ClearCache[] restore you Mathematica session *not* to the original state. Regards Jens Christopher Deacon wrote: > > What is the difference between > CleanSlate[] and > Developer`ClearCache[] > > as ways of clearing out all variables and restoring my Mathematica session > to its original state? > > Chris