http://www.perlmonks.org?node_id=1004651


in reply to Re^6: Question on Regex
in thread Question on Regex

You’re quite right, I should have said “up to 6 times faster”. I was looking at the figure of 496%, and thinking “that’s almost 5,” but that figure is actually the increase in rate expressed as a percentage of the original. That is,

(627362 - 105189) / 105189 = 4.9641 = 496%

The problem is, that concept — the increase in rate expressed as a percentage of the original — doesn’t mean much to me. Which may be why I have such a hard time remembering it!

i have a problem to interpret the output of Benchmark in the right way.

Me too! :-)

I know when i use cmpthese, the results are sorted from slow to fast.

Exactly, that’s the main point to keep in mind.

Athanasius <°(((><contra mundum

Replies are listed 'Best First'.
Re^8: Question on Regex
by karlgoethebier (Abbot) on Nov 20, 2012 at 07:52 UTC

    Thank you. I thought something was wrong with my beer last night ;-) Regards, Karl

    «The Crux of the Biscuit is the Apostrophe»