![]() |
|
|
#34 |
|
Jun 2008
23×32 Posts |
Oh hi, Jan (Feitsma) here. It seems this thread was temporary hi-jacked, sorry Paulunderwood... maybe any further such discussions should be moved to Charles' thread called 'Pseudoprimes'?
Yes a paper is now on the agenda, I got persuaded. Followup is planned for later this summer. WraithX and Jeff are contributing too, covering the verification efforts. As Danaj noted, 64-bit is a rather nice bound mainly because of assembly optimizations. Henryzz: a ballpark estimate for amount of work spent would be 70 CPU years (by me at least, in 2008, not sure about WraithX/Jeff). |
|
|
|
|
|
#35 | ||
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
![]() Quote:
|
||
|
|
|
|
|
#36 |
|
Aug 2006
10111010110112 Posts |
|
|
|
|
|
|
#37 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
10110111110002 Posts |
|
|
|
|
|
|
#38 | |
|
"Jonathan"
Jul 2010
In a tangled web...
3278 Posts |
Quote:
Iphone 5, Safari p201 693 ms 1062 ms with second test checked p1001 69877 ms 106094 ms with second test checked less dusty now Blackberry Playbook p201 2257 ms 3045 ms with second test checked p1001 self-aborts as before for the smart phone, all fields are visible, no complaints
|
|
|
|
|
|
|
#39 |
|
Sep 2002
Database er0rr
3,739 Posts |
Thanks for the timings.
![]() I am going to look into going from 15 bit array arithmetic to 24 bits again. It would slash running times greatly... |
|
|
|
|
|
#40 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17·251 Posts |
Version 0.5:
40767ms in Chrome on Galaxy S3 84025ms (!) in Dolphin on Galaxy S3 12650ms in Chrome on i5-750/Windows 7 Slower than the last one I tried, and oddly enough, Dolphin now runs twice as slow as Chrome on my Android. |
|
|
|
|
|
#41 |
|
Sep 2002
Database er0rr
3,739 Posts |
Thanks again, Mini-Geek, for the timings. I cannot think of any reason why the latest code is any slower than versions 0.3 and 0.4. Perhaps your S3 was doing something else in the background.
After some research on the net, I have found a trick which is way faster than the standard "Math.floor()" function. I shall use "~~(a/b)". Expect a 4 times speed up for the 24 bit version after I coded it up
Last fiddled with by paulunderwood on 2013-06-02 at 02:26 |
|
|
|
|
|
#42 |
|
Sep 2002
Database er0rr
373910 Posts |
I managed to code up a 24 bit version using the "~~(a/b)" trick as opposed to the very sluggish Math.floor() function. It worked with Internet Explorer 8 on 32-bit XP running on VirtualBox, given the previously linked hax from Microsoft; For p1001 it took 468414ms. I got some more realistic timings for other browsers with native Linux on this 2.7Ghz core2 box:
Epiphany 2.30.6: 28168ms -- Version 0.5 18121ms -- Version 0.6 FireFox 21.0: 8197ms -- version 0.5 3757ms -- version 0.6 Version 0.6: Last fiddled with by paulunderwood on 2013-06-02 at 06:54 |
|
|
|
|
|
#43 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10AB16 Posts |
It's also slower on my PC, by a comparable fraction. Is it faster for you?
|
|
|
|
|
|
#44 | |
|
Sep 2002
Database er0rr
1110100110112 Posts |
Quote:
Last fiddled with by paulunderwood on 2013-06-02 at 15:18 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PhD student needed for Paul Zimmermann's group | jasonp | Operation Kibibit | 1 | 2017-09-07 19:54 |
| Searching for Paul Underwood | diep | Lounge | 3 | 2009-12-18 12:25 |
| New data page | kar_bon | Riesel Prime Search | 144 | 2008-10-21 10:27 |
| Question about your page | OmbooHankvald | 15k Search | 2 | 2005-08-02 14:53 |
| Paul Leyland's Mersenne factors table gone? | ixfd64 | Lounge | 2 | 2004-02-18 09:42 |