Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by tachyon (Chancellor)
on Oct 12, 2004 at 06:11 UTC ( #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
Node Status?
node history
Node Type: note [id://398377]
help
Chatterbox?
[erix]: to use anchors in a html table., how do I do that?
[erix]: I'm pretty sure I've done that before but I can't seem to get it right at the moment...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-06-19 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (113 votes). Check out past polls.

    Notices?