This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
vastly speed up t/porting/diag.t
authorDavid Mitchell <davem@iabyn.com>
Tue, 18 Jan 2011 00:46:30 +0000 (00:46 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 18 Jan 2011 01:14:59 +0000 (01:14 +0000)
commit78cd53afbb1923bf0a68f361040ad8fe93a7d0d5
tree3b920c43f279a244332a63d6fff85b05375d7444
parent1178b7e3a549517a99a0e9d85bc912c8d535b92d
vastly speed up t/porting/diag.t

This used to take about 3 minutes of CPU. Reduce this to around
6 seconds (!!) by coalescing and pre-compiling various patterns
that get applied to nearly every line of every source file.
t/porting/diag.t