Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: How expensive is reverse?

by maverick (Curate)
on Sep 01, 2001 at 21:35 UTC ( [id://109656]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
                       }
             );
    
  2. or download this
    
    Benchmark: timing 100000 iterations of rev 100, rev 1000, rev 10000...
    ...
                (warning: too few iterations for a reliable count)
      rev 1000:  1 wallclock secs ( 0.87 usr +  0.00 sys =  0.87 CPU) @ 11
    +4942.53/s (n=100000)
     rev 10000:  8 wallclock secs ( 7.65 usr +  0.00 sys =  7.65 CPU) @ 13
    +071.90/s (n=100000)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-26 04:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found