You are viewing a single comment's thread. Return to all comments →
Interesting thing.
Have two versions of code. On my local machine the 2nd version runs 30% faster then 1st one, but here 1st version shows better result.
Difference between versions: the 2nd one has less calculations of square root, but more iterations (over longer array).
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #233: Lattice points on a circle
You are viewing a single comment's thread. Return to all comments →
Interesting thing.
Have two versions of code. On my local machine the 2nd version runs 30% faster then 1st one, but here 1st version shows better result.
Difference between versions: the 2nd one has less calculations of square root, but more iterations (over longer array).