Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37038864
en ru br
ALT Linux repos
S:1.87-alt1

Group :: Development/Perl
RPM: perl-CBOR-XS

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 1.87-alt1
Build date: 13 september 2023, 17:06 ( 28.1 weeks ago )
Size: 86.84 Kb

Home page:   http://search.cpan.org/dist/CBOR-XS/

License: GPL-3
Summary: Concise Binary Object Representation (CBOR, RFC7049)
Description:

This module 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 the Storable manpage or
the JSON::XS manpage and decodes about 15%%-30%% faster than those. The shorter the
data, the worse the Storable manpage performs in comparison.

Regarding compactness, `CBOR::XS'-encoded data structures are usually
about 20%% smaller than the same data encoded as (compact) JSON or
the Storable manpage.

In addition to the core CBOR data format, this module implements a
number of extensions, to support cyclic and shared data structures
(see `allow_sharing' and `allow_cycles'), string deduplication (see
`pack_strings') and scalar references (always enabled).

The primary goal of this module is to be *correct* and the secondary goal
is to be *fast*. To reach the latter goal it was written in C.

See MAPPING, below, on how CBOR::XS maps perl values to CBOR values and
vice versa.

Current maintainer: Igor Vlasenko

List of contributors

List of rpms provided by this srpm:

  • perl-CBOR-XS
  • perl-CBOR-XS-debuginfo
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin