Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Apply A Set Of Regexes To A String

by tachyon (Chancellor)
on Oct 12, 2004 at 06:11 UTC ( [id://398377]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Benchmark 'cmpthese';
    
    ...
             Rate Loop   RE
    Loop  40378/s   -- -71%
    RE   137552/s 241%   --
    
  2. or download this
    $_ = 'foo bar' x 2000;
    
    ...
          Rate   RE Loop
    RE   340/s   -- -32%
    Loop 503/s  48%   -
    
  3. or download this
    $_ = 'fo ba' x 1000 . 'foo bar';
    
    ...
            Rate    RE  Loop
    RE     901/s    --  -94%
    Loop 14065/s 1461%    --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found