Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: Rotationally Prime Numbers Revisited

by tlm (Prior)
on Mar 25, 2005 at 04:39 UTC ( #442281=note: print w/replies, xml ) Need Help??


in reply to Re^3: Rotationally Prime Numbers Revisited
in thread Rotationally Prime Numbers Revisited

It's already very fast, but you can improve it somewhat by doing your rotations with

$num = chop($num) . $num; Rate s chop s 258/s -- -14% chop 299/s 16% --

the lowliest monk

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442281]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2019-05-23 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (146 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!