Meta Configuration of Package perl-CBOR-XS

37
 
1
<package name="perl-CBOR-XS" project="Multimedia">
2
  <title>Concise Binary Object Representation (CBOR, RFC7049)</title>
3
  <description>This module converts Perl data structures to the Concise Binary Object
4
Representation (CBOR) and vice versa. CBOR is a fast binary serialisation
5
format that aims to use an (almost) superset of the JSON data model, i.e.
6
when you can represent something useful in JSON, you should be able to
7
represent it in CBOR.
8
9
In short, CBOR is a faster and quite compact binary alternative to JSON,
10
with the added ability of supporting serialisation of Perl objects. (JSON
11
often compresses better than CBOR though, so if you plan to compress the
12
data later and speed is less important you might want to compare both
13
formats first).
14
15
To give you a general idea about speed, with texts in the megabyte range,
16
'CBOR::XS' usually encodes roughly twice as fast as Storable or JSON::XS
17
and decodes about 15%-30% faster than those. The shorter the data, the
18
worse Storable performs in comparison.
19
20
Regarding compactness, 'CBOR::XS'-encoded data structures are usually about
21
20% smaller than the same data encoded as (compact) JSON or Storable.
22
23
In addition to the core CBOR data format, this module implements a number
24
of extensions, to support cyclic and shared data structures (see
25
'allow_sharing' and 'allow_cycles'), string deduplication (see
26
'pack_strings') and scalar references (always enabled).
27
28
The primary goal of this module is to be _correct_ and the secondary goal
29
is to be _fast_. To reach the latter goal it was written in C.
30
31
See MAPPING, below, on how CBOR::XS maps perl values to CBOR values and
32
vice versa.
33
34
</description>
35
  <url>http://search.cpan.org/dist/CBOR-XS/</url>
36
</package>
37