Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

(MeowChow - you're all confused) Re5: Finding all substrings

by MeowChow (Vicar)
on Apr 25, 2002 at 00:20 UTC ( #161829=note: print w/replies, xml ) Need Help??


in reply to Re: (3) Finding all substrings (Russ: more != less)
in thread Finding all substrings

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
  • Comment on (MeowChow - you're all confused) Re5: Finding all substrings

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://161829]
help
Chatterbox?
[Eily]: I just wrote a oneliner to solve a (non perl) colleague's problem, and it worked on the first try
[Eily]: and he wasn't impressed
1nickt adds gingersnaps to the platter on the sideboard.
[Eily]: sure it was a pretty standard one liner (of the $h{$1} = $2 if /regex/; END { pp \%h; } variety), but he's not supposed to know that!
[Eily]: what's the point of writing perl if people aren't impressed :P
[sierpinski]: Haha
[Discipulus]: i'm with you!

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-04-26 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (482 votes). Check out past polls.