P is for Practical | |
PerlMonks |
Re: Re: Re: remove both leading and trailing spacesby softworkz (Monk) |
on Sep 26, 2003 at 17:02 UTC ( [id://294496]=note: print w/replies, xml ) | Need Help?? |
__OUTPUT__ Benchmark: timing 1000000 iterations of regex1, regex2, regex3... regex1: 6 wallclock secs ( 5.25 usr + 0.00 sys = 5.25 CPU) @ 190512.48/s (n=1000000) regex2: 2 wallclock secs ( 1.83 usr + 0.00 sys = 1.83 CPU) @ 547045.95/s (n=1000000) regex3: 2 wallclock secs ( 1.02 usr + 0.00 sys = 1.02 CPU) @ 984251.97/s (n=1000000)
In Section
Seekers of Perl Wisdom
|
|