Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Unefficient Regexp 'Matching this or that'

by pelagic (Priest)
on May 19, 2010 at 08:20 UTC ( [id://840634]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Benchmark;
    ...
    }
    
    __END__
    
  2. or download this
    # perl bench_regexp 100000lines.92MB.file 
    Benchmark: timing 1 iterations of one_string, two_string...
    ...
                (warning: too few iterations for a reliable count)
    two_string: 77 wallclock secs (76.13 usr +  0.59 sys = 76.72 CPU) @  0
    +.01/s (n=1)
                (warning: too few iterations for a reliable count)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-24 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found