[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818859: ITP: libcbor-xs-perl -- module for manipulating CBOR-formatted data (C/XS-accelerated)



Package: wnpp
Owner: Nick Morrott <knowledgejunkie@gmail.com>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org, debian-perl@lists.debian.org

* Package name    : libcbor-xs-perl
  Version         : 1.41
  Upstream Author : Marc Lehmann <schmorp@schmorp.de>
* URL             : https://metacpan.org/release/CBOR-XS
* License         : GPL-3
  Programming Lang: Perl
  Description     : module for manipulating CBOR-formatted data (C/XS-accelerated)

CBOR::XS converts Perl data structures to the Concise Binary Object
Representation (CBOR) and vice versa. CBOR is a fast binary serialisation
format that aims to use an (almost) superset of the JSON data model, i.e.
when you can represent something useful in JSON, you should be able to
represent it in CBOR.

In short, CBOR is a faster and quite compact binary alternative to JSON, with
the added ability of supporting serialisation of Perl objects. (JSON often
compresses better than CBOR though, so if you plan to compress the data later
and speed is less important you might want to compare both formats first).

To give you a general idea about speed, with texts in the megabyte range,
CBOR::XS usually encodes roughly twice as fast as Storable or JSON::XS and
decodes about 15%-30% faster than those. The shorter the data, the worse
Storable performs in comparison.

The package will be maintained under the umbrella of the Debian Perl Group.


Reply to: