revert const deparsing in Deparse.pm
authorDavid Mitchell <davem@iabyn.com>
Wed, 10 Mar 2010 21:47:34 +0000 (21:47 +0000)
committerDavid Mitchell <davem@iabyn.com>
Wed, 10 Mar 2010 21:47:34 +0000 (21:47 +0000)
commit0fa4a26596a4646f9aae1dcd199a2f30933e6f01
treeab9fcfe5719b66e9e2a497927c647a5d79549e63
parent2867cdbcac19071f99ab71a81d63dbd894cebd3b
revert const deparsing in Deparse.pm

The code was added in 5.11.0 by
    2990415a4519bc3988d7224ae15100c3e9e901ee
    805b10112885d8868f21f8e860792d65e1e6c19d
but causes a big slowdown on most deparsing, due to the need
to walk the entire package tree looking for constant subs.

For more details, see
    [perl #73052] Storable considerably slower at storing coderefs
dist/B-Deparse/Deparse.pm
dist/B-Deparse/t/deparse.t