Tagged Questions
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 ...
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 ...