libclass-xsaccessor-perl

Perl module providing fast XS accessors

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Class-XSAccessor


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libclass-xsaccessor-perl