Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: (3) Finding all substrings (Russ: more != less)

by Russ (Deacon)
on Apr 24, 2002 at 19:49 UTC ( #161751=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Finding all substrings
in thread Finding all substrings

Benchmark is telling you:
  • new is 80% faster than original
  • original is 401% slower than new
Don't confuse "this much more" with "this much less." :-)

Russ
Brainbench 'Most Valuable Professional' for Perl

  • Comment on Re: (3) Finding all substrings (Russ: more != less)

Replies are listed 'Best First'.
(MeowChow - you're all confused) Re5: Finding all substrings
by MeowChow (Vicar) on Apr 25, 2002 at 00:20 UTC
    The issue here has nothing to do with "less" and "more", and everything to do with units of measure. When samtregar says his routine is 400% faster, he is obviously implying a unit of measure based on rate, ie. number of executions per second. Dominus's quip assumed an inverse unit of measure based on seconds per execution. Personally, I think samtregar's assumption about units was the better one. Most people are accustomed to thinking about things in terms of rate, ie. if I say I made my script run 4x faster, there's really no confusion. If I say I made it run 75% faster, things get muddled. But once it goes over 100%, there's no question as to what is meant.
       MeowChow                                   
                   s aamecha.s a..a\u$&owag.print

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2022-05-20 08:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?