1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
Source: libclass-xsaccessor-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn@debian.org>,
gregor herrmann <gregoa@debian.org>,
Ansgar Burchardt <ansgar@debian.org>,
Xavier Guimard <x.guimard@free.fr>
Section: perl
Testsuite: autopkgtest-pkg-perl
Priority: optional
Build-Depends: debhelper (>= 10),
perl
Standards-Version: 4.2.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libclass-xsaccessor-perl
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libclass-xsaccessor-perl.git
Homepage: https://metacpan.org/release/Class-XSAccessor
Package: libclass-xsaccessor-perl
Architecture: any
Depends: ${misc:Depends},
${perl:Depends},
${sameperl:Depends},
${shlibs:Depends}
Provides: libclass-xsaccessor-array-perl
Description: 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.
|