Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

RE: RE:(2) Algorithm Efficiency (function overhead)

by btrott (Parson)
on Jun 21, 2000 at 00:53 UTC ( [id://19104]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use vars qw/$now %url/;
    
        $now = 8;
        %url = ( monday => { @{[map(($_,1), (1..1000))]} } );
    
  2. or download this
    Benchmark: timing 1000 iterations of Grep, Max, Ternary...
          Grep:  6 wallclock secs ( 5.49 usr +  0.00 sys =  5.49 CPU)
           Max:  5 wallclock secs ( 5.81 usr +  0.00 sys =  5.81 CPU)
       Ternary:  7 wallclock secs ( 6.42 usr +  0.00 sys =  6.42 CPU)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 22:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found