Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Result Caching from Functions' topicStudent Support Forum > General > Archives > "Result Caching from Functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
01/06/12 10:47pm

I'm running a test where I'm comparing the speed of prime-finding algorithms against each other and against PrimeQ. PrimeQ obviously caches results:


=> 0.013356


=> 0.00006

How can I disable this so PrimeQ doesn't execute amazingly fast? Even better, how can I make my algorithms do this too?

URL: ,

Subject (listing for 'Result Caching from Functions')
Author Date Posted
Result Caching from Functions Patrick 01/06/12 10:47pm
Re: Result Caching from Functions Nasser M. Ab... 01/08/12 01:51am
Next Comment >Help | Reply To Topic