Skip Menu |

This queue is for tickets about the Net-Amazon-Glacier CPAN distribution.

Report information
The Basics
Id: 82676
Status: open
Priority: 0/
Queue: Net-Amazon-Glacier

People
Owner: TIM [...] cpan.org
Requestors: victor [...] vsespb.ru
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: JSON::PP vs JSON::XS
Hi. You're using JSON::PP, it's more portable, but JSON::XS is faster. Currently in your code performance of json is not important. However Amazon Glacier inventory retrieval job output is in JSON format (by default). So in user program, when parsing this output, performance is really matters. I'd suggest move to JSON::XS as user program will still use JSON::XS to parse inventory, most likely
El Dom Ene 13 06:31:28 2013, vsespb escribió: Show quoted text
> Hi. > > You're using JSON::PP, it's more portable, but JSON::XS is faster. > Currently in your code performance of json is not important. > > However Amazon Glacier inventory retrieval job output is in JSON format > (by default). > > So in user program, when parsing this output, performance is really matters. > > I'd suggest move to JSON::XS as user program will still use JSON::XS to > parse inventory, most likely
Hi. Based on http://search.cpan.org/~mlehmann/JSON-XS-2.34/XS.pm#DESCRIPTION (JSON uses JSON::XS if available) I will send Tim Nordenfur an update inclusing that change hopefully for version 0.14 if he decides to merge it. In the mean while you can pull it from my repo at: https://github.com/gbarco/Net-Amazon-Glacier.git Regards, Gonzalo