This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
make t/re/fold_grind.t faster
authorDavid Mitchell <davem@iabyn.com>
Wed, 23 Feb 2011 12:46:05 +0000 (12:46 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 23 Feb 2011 22:03:40 +0000 (22:03 +0000)
commitbb2fbce0eaea956040fe698906fe951ebc2a0fb7
tree28b8b039e84d926295d6c8779172cc9e21e0de2d
parent61ec922c7335a9814ce5ab2d4b51f45165a79fe8
make  t/re/fold_grind.t faster

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

This is done by removing the second layer of eval: The tests are
constructed as strings to be evaled, but were then wrapped in a second
eval to handle TODO etc. This second eval turned out to be unnecessary.
t/re/fold_grind.t