Thread: New Code
View Single Post
Old 2011-09-01, 22:20   #7
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5·359 Posts
Default

John, slow down a bit...what language is this?
Since our hardware runs at very different speeds, depending on what else is going on on the computer, and the computer itself, we count operations, rather than clock time.

And re-read carefully what I asked...we need to begin with code which is correct, and do some small counting exercises before we start trying to time things. I can compute anything faster than you if it doesn't have to be right!!!

What you have there is called a mess...and a classic example of what I was talking about in terms of giving people the wrong idea about you.

In particular, suppose Goldbach's conjecture is false for N=50. How long will the program run, and how would we know if Goldbach's conjecture is false from looking at the output of the code?

I suggest you re-start from the original fragment you copied into this thread.
Christenson is offline   Reply With Quote