On 8/19/2009 9:58:00 PM, Tom_Gutman wrote:
>Been there, done that, burned
>the T-shirt.
>
>The sheet I posted in
>http://collab.mathsoft.com/rea
>d?125705,63 includes the
>evaluation (in the collapsed
>area) of PrimesTo for
>10000000. Takes about 28
>seconds on MC11 and about 9
>seconds on MC14.
Interesting case of convergent evolution
🙂 I almost laughed when I donwloaded your sheet to compare your solution with mine. Well, I guess there are not too much choices... (well done, Eratosthenes!)
My solution is slightly faster than yours in my machine, about 2-3 seconds.
As reference, my machine is a Pentium 4, 3 GHz and I'm running Mathcad 2001 Pro.
The graph is a combined print screen of the two routines and the times displayed are with all programs (music, net services, keyboard hotkeys,...) disabled.
Saludos,
Al