[Israel.pm] performcane problems (perl 5.6 and 5.8)

Yossi Itzkovich Yossi.Itzkovich at ecitele.com
Sun Feb 17 04:03:52 PST 2008


The following line:
 if ( $str=~ /#.*?m_ClassName">(\S+?)</gs)

Taks 0.009 seconds to run 182 times with perl 5.6.1

On same station, and same input, with perl 5.8.8 it takes 4 seconds !

Can someone explains to me what is going on ?


More information about the Perl mailing list