For questions related to the effects of Mathematica's internal caching mechanisms.
16
votes
2answers
408 views
Built-in Mathematica data: are they cached? how to speed up the loading?
Mathematica has numerous built-in data for science and math. Every first call to a data function in a new Mathematica session will "re-initialize indices" (download the data). Is there a way to store ...
11
votes
3answers
219 views
Memoization of Rounded inputs
Memoization is a technique for improving performance by having a function remember its previous arguments. For example,
f[x_]:=f[x]=mySlowFunction[x]
will be ...
7
votes
3answers
215 views
Making sure that Timing[] isn't thrown off by caching
In playing with and comparing the various answers to my question here, I tried applying Timing[] to see how fast things ran, but it seemed that some of the answers ...
3
votes
0answers
131 views
+50
Caching of Graph Graphics
In this answer, Simon Woods concludes that when you display an expression with head graph more than once, something is getting stored somewhere. I looked into it too and found out this only happens if ...