Class-XSAccessor

From Free Software Directory
 
Jump to: navigation, search


[edit]

Class-xsaccessor

https://metacpan.org/release/Class-XSAccessor
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.



Download




Categories





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian

Verified on

20 March 2013

Notes

License: Artistic or GPL-1+

Artistic:

 This program is free software; you can redistribute it and/or
 modify it under the terms of the Artistic License, which comes
 with Perl.
 On Debian systems, the complete text of the Artistic License can
 be found in `/usr/share/common-licenses/Artistic'.

GPL-1+:

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation; either version 1, or
 (at your option) any later version.
 On Debian systems, the complete text of version 1 of the GNU
 General Public License can be found in `/usr/share/common-
licenses/GPL-1'.




Leaders and contributors

Contact(s)Role
Steffen Mueller contact


Resources and communication

AudienceResource typeURI
Perl (Ref)https://metacpan.org/release/Class-XSAccessor
Debian (Ref) (R)https://tracker.debian.org/pkg/libclass-xsaccessor-perl


Software prerequisites




Entry














"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Perl (Ref)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.






Date 2013-03-20
Source Debian import
Source link http://packages.debian.org/sid/libclass-xsaccessor-perl

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.