Soo, to see if just a string 4 times bigger can make the REGEXP 4 times slow

What a load of crap - This has to be seriously one of the worst answers that I have seen posted on this site, dressed up as determinate rationale ...

The OP would be better to following the avenues of investigation offered by other posters, namely, increasing test sample size, employing a better test framework (Benchmark), considering the difference between threaded and unthreaded versions of Perl - the performance difference between threaded and unthreaded versions of Perl can be quite significant, even where threads is not employed - and following up with perl5-porters.


In reply to Re: Re: serious regex performance degradation after upgrade to perl 5.8 from 5.6 by Anonymous Monk
in thread serious regex performance degradation after upgrade to perl 5.8 from 5.6 by dmandel

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.