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

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2016-10-23 15:31 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.