Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Request to correct the perl code for getting substrings

by oldtomas (Novice)
on Apr 20, 2012 at 06:57 UTC ( [id://966107]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use Benchmark;
    ...
      }
      return $matchlen;
    }
    
  2. or download this
    Benchmark: timing 10 iterations of matchamp, matchpar...
      matchamp: 24 wallclock secs (23.48 usr +  0.00 sys = 23.48 CPU) @  0
    +.43/s (n=10)
      matchpar: 26 wallclock secs (25.70 usr +  0.00 sys = 25.70 CPU) @  0
    +.39/s (n=10)
    
  3. or download this
    Benchmark: timing 10 iterations of matchpar...
      matchpar:  1 wallclock secs ( 0.54 usr +  0.00 sys =  0.54 CPU) @ 18
    +.52/s (n=10)
    

Log In?
Username:
Password:

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

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

    No recent polls found