Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libcbor-xs-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libcbor-xs-perl  ]

套件: libcbor-xs-perl (1.86-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.34)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • 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
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.34.0
    本虛擬套件由這些套件提供: perl-base

下載 libcbor-xs-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 59.5 kB147 kB [文件列表]
arm64 59.8 kB143 kB [文件列表]
armhf 58.3 kB127 kB [文件列表]
ppc64el 62.3 kB223 kB [文件列表]