Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: To Findout Prime number

by andreas1234567 (Vicar)
on Feb 11, 2008 at 06:57 UTC ( #667337=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -w 666965.pl
    Benchmark: running substr, vec for at least 60 CPU seconds...
    ...
           s/iter    vec substr
    vec      1.86     --    -7%
    substr   1.73     7%     --
    
  2. or download this
    Benchmark: running substr, vec for at least 60 CPU seconds...
        substr: 62 wallclock secs (61.69 usr +  0.05 sys = 61.74 CPU) @  0
    +.44/s (n=27)
    ...
           s/iter    vec substr
    vec      2.54     --   -10%
    substr   2.29    11%     --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://667337]
help
Chatterbox?
[Discipulus]: and to show some effort while asking
[Discipulus]: <code> code and data</code>
[Discipulus]: amitkumarj441 more atention you put asking, more attentio you got in answers
Discipulus 's hoping he needs a oneliner ;=)
VinsWorldcom takes a cookie from the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2017-04-26 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (488 votes). Check out past polls.