[Koha-devel] replace Data::Dumper with faster JSON::XS in Koha?

Mason James mtj at kohaaloha.com
Wed Mar 7 03:16:32 CET 2012


i noticed there are a few places in Koha where Data::Dumper is loaded, even if $debug is off, etc
(like the Items and Circ modules)

i wonder if we could replace Data::Dumper with something faster, perhaps...?

like  JSON::XS, YAML::XS or YAML::Tiny

here's some benchmarks and discussions, etc
  http://martin-evans.me.uk/node/42
  http://stackoverflow.com/questions/1876735/should-i-use-yaml-or-json-to-store-my-perl-data


any thoughts, people?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 535 bytes
Desc: This is a digitally signed message part
URL: </pipermail/koha-devel/attachments/20120307/9e46508d/attachment.pgp>


More information about the Koha-devel mailing list