On Thu, Dec 27, 2012 at 11:41 AM, Todd Rinaldo <toddr@cpanel.net> wrote: > On Dec 27, 2012, at 10:50 AM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote: > >> I'm curious as to why you're using Storable at all if you don't >> support the deserialization of objects, to preserve things like UTF-8 >> flags and binary data? > > Speed. We would prefer JSON::XS or some other faster serializer, but at the moment, we're limited by Perl 5.6.2, which is not JSON::XS compatible. This Perl is the newest we can reliably make binaries against at the moment. We plan to remedy this in 2013. Shipping a set of Perl 5.14.3 RPMs as part of cPanel was the first part of this plan. I tried to backport JSON::XS to v5.6 but was not quite successful because of overload issues with the old 5.6 compiler. https://github.com/rurban/Cpanel-JSON-XS Our current serializer candidates are Sereal and Data::MessagePack with some extensions. booking.com efforts really came handy. -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/Thread Previous | Thread Next