Skip to content
Sections
>> Trisquel >> Packages >> aramo >> perl >> libclass-xsaccessor-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libclass-xsaccessor-perl  ]

Package: libclass-xsaccessor-perl (1.19-3build9)

Perl module providing fast XS accessors

Class::XSAccessor implements fast XS accessors both for getting at and setting an object attribute. Additionally, the module supports mutators and simple predicates like those for testing the truth value of a variable. It works only with objects that are implemented as ordinary hashes.

The XS accessor methods were between 1.6 and 2.5 times faster than typical pure-perl accessors in some simple benchmarking. If you usually write clear code, a factor of two speed-up is a good estimate.

Refer to Class::XSAccessor::Array (also included in libclass-xsaccessor-perl) for an implementation that works with array-based objects.

Other Packages Related to libclass-xsaccessor-perl

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.14) [amd64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
    dep: libc6 (>= 2.17) [arm64, ppc64el]
    dep: libc6 (>= 2.4) [armhf, i386]
  • dep: perl (<< 5.34.1~)
    Larry Wall's Practical Extraction and Report Language
    dep: perl (>= 5.34.0~)
  • dep: perlapi-5.34.0
    virtual package provided by perl-base

Download libclass-xsaccessor-perl

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 33.3 kB106 kB [list of files]
arm64 32.8 kB101 kB [list of files]
armhf 32.6 kB89 kB [list of files]
i386 35.5 kB109 kB [list of files]
ppc64el 35.7 kB185 kB [list of files]