Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libcbor-xs-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libcbor-xs-perl  ]

软件包: libcbor-xs-perl (1.70-1build1)

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.

其他与 libcbor-xs-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.4) [i386]
  • dep: libcommon-sense-perl
    module that implements some sane defaults for Perl programs
  • dep: libtypes-serialiser-perl
    module providing simple data types for common serialisation formats
  • dep: perl (>= 5.26.1-2ubuntu1)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.26.1
    本虚包由这些包填实: perl-base

下载 libcbor-xs-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 54.9 kB137 kB [文件列表]
i386 58.3 kB149 kB [文件列表]