Alright, run it against an algorithm that you use, if you have one, and see which one is faster.
Type: Posts; User: aesguitar
Alright, run it against an algorithm that you use, if you have one, and see which one is faster.
It's just a method for pumping out the factors of a number, ie 12 would give 1 2 3 4 6 12. I tweaked it a little more and got it down to 21 seconds. 20.95 to factor and .05 to sort, estimate. I was...
How fast is a good time to factor the highest number for a long: 9,223,372,036,854,775,807? Using my algorithm on my laptop with a core i5 @ 2.79 gHz, I got the factors (not just primes) and sorted...