Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Regexp Legibility

by linuxer (Curate)
on Jun 21, 2009 at 16:47 UTC ( #773386=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regexp Legibility
in thread Regexp do's and don'ts

No, it doesn't look like that.

In one run "with do" was 40% faster than "as usual", while in the second run, "with eval" iswas 9% slower than "as usual".

The "Rate" shows you how many times the specific routine could be run per time unit, so in this case, runs per second.

What makes you think, that the eval-solution runs faster? ;)

BTW, you can do comparisons with more than two subroutines. So you can do one run and compare all three (or more) routines.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://773386]
help
Chatterbox?
[Corion]: Hmm - HTC Vive reduces its price to EUR 700 (from EUR 900). Now I have to look what graphics cards prices are - maybe a good enough VR rig can be had for EUR 1500 now instead of EUR 2000(+)
[Corion]: Hmm - nVidia GTX 1070 + Vive makes EUR 1130, leaving EUR 370 for CPU+case+cooler+ RAM - not bad
[Corion]: (I'm not a fan of AMD)
[Corion]: On the other hand, the Radeon 580 RX would cost 380 instead of 430 ... But still, that's ATi and I've been unhappy with ATi drivers the two times I had one in my desktops

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-08-21 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (319 votes). Check out past polls.

    Notices?