libclass-xsaccessor-perl 1.19-ok1 source package in openKylin
Changelog
libclass-xsaccessor-perl (1.19-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
libclass-xsaccessor-perl (1.19-ok1) yangtze; urgency=medium * Build for openKylin. -- openKylinBot <email address hidden> Mon, 25 Apr 2022 22:03:04 +0800
Series | Published | Component | Section |
---|
File | Size | SHA-256 Checksum |
---|---|---|
libclass-xsaccessor-perl_1.19.orig.tar.gz | 78.9 KiB | 99c56b395f1239af19901f2feeb125d9ecb4e351a0d80daa9529211a4700a6f2 |
libclass-xsaccessor-perl_1.19-ok1.debian.tar.xz | 2.1 KiB | f0f531806e9c7c222e96777834e624b1ef129dd07bf069395a7ae9e500522412 |
libclass-xsaccessor-perl_1.19-ok1.dsc | 2.0 KiB | 5ff15a52650b3c609488853e524baf316c3efeae42e5fdf5fba942efefaf8fe8 |
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::
for an implementation that works with array-based objects.