[svk-devel] YAML::Syck and B::Deparse
Jesse Vincent
jesse at bestpractical.com
Sat Jul 29 02:00:52 EDT 2006
On Fri, Jul 28, 2006 at 10:49:07PM -0600, Michael Hendricks wrote:
> Since version 0.46_01, YAML::Syck can serialize code references. To do
> so, it loads B::Deparse. However, it loads B::Deparse even if there are
> no coderefs to serialize. B::Deparse is a large module and SVK pays a
> small penalty for compiling it (.2s on my slow hardware) for every
> command.
It's funny you should mention this. Audrey found and (I believe) fixed
just this issue this evening.
> If anyone here knows how to modify the YAML::Syck XS so that it loads
> B::Deparse only when needed, that would be the best solution. Without
> a solution from upstream, inserting the following into bin/svk
> accomplishes the same goal.
>
> Is blacklisting B::Deparse too evil for production?
Yes, especially when YAML::Syck's author is an svk committer ;)
Best,
Jesse
More information about the svk-devel
mailing list