Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

The 10**21 Problem (Part 2)

by eyepopslikeamosquito (Archbishop)
on May 02, 2014 at 09:11 UTC ( [id://1084755]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #define H_PRIME   1000003
    #define HASH_LEN  11
    ...
      }
      return iret;
    }
    
  2. or download this
    gcc -O3 -c inner2.c
    g++ -o find1 find1.cpp inner2.o
    
  3. or download this
    cl /W3 /MD /O2 find1.cpp inner2.c
    
  4. or download this
    # find1 9  8 9  60 61  1 2
    9: sv1=8 ev1=9 sv2=60 ev2=61 sv3=1 ev3=2:
    9 8 60 1 94 6 51 38 78 100
    (wall clock time:109 secs, cpu time:108.95 units)
    
  5. or download this
    109 * 125**4 = 26,611,328,125 seconds = 26611328125 / 60 / 60 / 24 / 3
    +65 = 844 years
    
  6. or download this
    m4 = (m3 ^ q4) * H_PRIME;
    d4 = (d3 ^ q4) * H_PRIME;
    c4 = (c3 ^ q4) * H_PRIME;
    l4 = (l3 ^ q4) * H_PRIME;
    x4 = (x3 ^ q4) * H_PRIME;
    
  7. or download this
    #include <emmintrin.h>
    #include <smmintrin.h>
    ...
      }
      return iret;
    }
    
  8. or download this
    d8 = (d7 ^ q8) * H_PRIME ^ HASH_LEN;
    d9 = d8 & ~127;
    ...
    ps[iret].m128i_i16[5] = q8;
    ps[iret].m128i_i16[6] = q9;
    ++iret;
    
  9. or download this
    q9 = bytevecM[(unsigned int)(m7 ^ q8)];
    if (q9 != 0
    ...
       ps[iret].m128i_i16[6] = q9;
       ++iret;
    }
    
  10. or download this
    # find3a 9  8 9  60 61  1 2
    9: sv1=8 ev1=9 sv2=60 ev2=61 sv3=1 ev3=2:
    9 8 60 1 94 6 51 38 78 100
    (wall clock time:94 secs, cpu time:93.90 units)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1084755]
Front-paged by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found