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:12:32 +0000 (01:12 +0100)
commitd68244d37fda468019b0b175f1dec27eced69e70
tree2034d89c655120520b86f23bffbea9648d325bfe
parent63483f2a949379b2a19490899b5e3706717f192d
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.

(cherry picked from commit 805b10112885d8868f21f8e860792d65e1e6c19d)
ext/B/B/Deparse.pm