This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make t/re/fold_grind.t even faster
authorDavid Mitchell <davem@iabyn.com>
Wed, 23 Feb 2011 16:51:40 +0000 (16:51 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 23 Feb 2011 22:03:40 +0000 (22:03 +0000)
commitaa3ca10263eee62baf939165f299b49359ce01c5
treed231ab4e01dc8f4e2a548bf599a5437af694f784
parentbb2fbce0eaea956040fe698906fe951ebc2a0fb7
make  t/re/fold_grind.t even faster

This is currently the slowest test in the suite. On my debugging build,
it takes 3 minutes. This commit reduces it to 1.5 minutes.

This is done by removing the eval in the innermost loop and just
executing the bits it would do directly.
t/re/fold_grind.t