![]() |
|
|
#23 | |
|
May 2007
Kansas; USA
101·103 Posts |
Quote:
|
|
|
|
|
|
|
#24 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
24×593 Posts |
Yes, it is. It is an invaluable tool and is easy to install (not as easy to use, but that's a different story; however, there are experts here on forum who will help). But this is only for prototyping.
I am sure that a plain C 50-liner siever will take care of the problem much easier and faster. I'll probably give it a crack over weekend. One could use the k%60==17||k%60==29||k%60==53 packing in it (or even tighter), or rather I am inclined to just keep only 1 (mod 12) 2Gb byte array (for k<24G) and then clear proper, equally spaced bytes relentlessly for each p until 2^32 or until too bored.
|
|
|
|
|
|
#25 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224208 Posts |
Quick'n'dirty... and lazy (no bit packing or any fancy stuff) and limited to sieving to 2B. Attached. Can be vastly improved (but of course Geoff could write a totally superior sieve with his left foot in 15 minutes).
Last fiddled with by Batalov on 2011-10-28 at 18:39 Reason: 2B or not 2B |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sieving for CRUS | rebirther | Conjectures 'R Us | 638 | 2021-06-15 07:55 |
| Sieving Drive all base 2/4 k's worked by CRUS | gd_barnes | Conjectures 'R Us | 143 | 2014-10-21 23:55 |
| Some CRUS stats | vmod | Conjectures 'R Us | 213 | 2014-02-28 21:23 |
| What are your CRUS plans? | rogue | Conjectures 'R Us | 35 | 2013-11-09 09:03 |
| how high will CRUS go | Mini-Geek | Conjectures 'R Us | 1 | 2010-11-08 20:50 |