This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ameliorate B::Deparse slowdown
authorDavid Mitchell <davem@iabyn.com>
Wed, 12 Aug 2009 00:01:34 +0000 (01:01 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 12 Aug 2009 00:08:13 +0000 (01:08 +0100)
commit805b10112885d8868f21f8e860792d65e1e6c19d
treebf579a0cbd876834f125a2933271f3433837b864
parentad2561310d3fa13cf664e8d8b8bb294a23cf9ea4
ameliorate B::Deparse slowdown

commit 2990415a45 improved the ability to deparse inlined constants,
but at the cost of having to walk all the symbol tables when each new
B::Deparse object is created. Make this scan instead only happen the first
time its needed.
ext/B/B/Deparse.pm