![]() |
|
|
#122 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
should have the 400 million test done in 12-13 minutes if it worked linearly
|
|
|
|
|
|
#123 |
|
Aug 2006
10111010110112 Posts |
|
|
|
|
|
|
#124 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
*** last result computed in 1h, 2mn, 56,844 ms. Last fiddled with by science_man_88 on 2010-07-22 at 13:58 |
|
|
|
|
|
|
#125 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
does your code break if it finds one before running out ? if not wouldn't that likely speed it up ? it only needs to find one not all of them.
|
|
|
|
|
|
#126 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
|
|
|
|
|
|
|
#127 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
|
|
#128 |
|
Aug 2006
135338 Posts |
|
|
|
|
|
|
#129 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
|
|
|
|
|
|
#130 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#131 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
is there a way we could speed it up as data is rarely random according to a ASM book I read into lol.
|
|
|
|
|
|
#132 | |
|
Aug 2006
3×1,993 Posts |
Quote:
You could get a small speedup by installing (possibly as a second OS rather than replacing your primary) some form of Linux, installing gp2c, running the script through gp2c, and hand-editing the C code to type-specialize, as well as to replace general functions with custom specific functions. But for this problem, most of the time is just spent proving primality, so there's no a whole lot to be done. |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Goldbach Conjecture | MattcAnderson | MattcAnderson | 4 | 2021-04-04 19:21 |
| Factorial and Goldbach conjecture. | MisterBitcoin | MisterBitcoin | 17 | 2018-01-29 00:50 |
| Goldbach's weak conjecture | MattcAnderson | MattcAnderson | 19 | 2017-03-21 18:17 |
| Goldbach's conjecture | Citrix | Puzzles | 3 | 2005-09-09 13:58 |