Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: An optimization of last resort: eliminate capturing from your regexps (hit)

by tye (Sage)
on Jul 11, 2006 at 14:28 UTC ( #560471=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @matches= $string =~ /$regex/gk;
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    no&()  441612/s    0%    --   -0%  -81%
    amp?:  443563/s    1%    0%    --  -81%
    no&?: 2354611/s  435%  433%  431%    --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://560471]
help
Chatterbox?
NodeReaper . o O ( Did I forget to leave the gas on? )

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2017-02-25 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.