Download Source Package libclass-xsaccessor-perl:
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.
|
|
|
| Architecture | Version | Package Size | Installed Size | Files |
|---|---|---|---|---|
| alpha | 1.05-2 | 39.9 kB | 196 kB | [list of files] |
| amd64 | 1.05-2 | 39.9 kB | 180 kB | [list of files] |
| armel | 1.05-2 | 38.8 kB | 176 kB | [list of files] |
| avr32 (unofficial port) | 1.05-2 | 34.5 kB | 160 kB | [list of files] |
| hppa | 1.05-2 | 41.1 kB | 188 kB | [list of files] |
| hurd-i386 | 1.05-2 | 37.1 kB | 168 kB | [list of files] |
| i386 | 1.05-2 | 37.4 kB | 168 kB | [list of files] |
| ia64 | 1.05-2 | 44.7 kB | 228 kB | [list of files] |
| kfreebsd-amd64 | 1.05-2 | 39.7 kB | 130 kB | [list of files] |
| kfreebsd-i386 | 1.05-2 | 37.6 kB | 122 kB | [list of files] |
| m68k (unofficial port) | 1.02-1 | 20.4 kB | 112 kB | [list of files] |
| mips | 1.05-2 | 35.1 kB | 188 kB | [list of files] |
| mipsel | 1.05-2 | 35.0 kB | 188 kB | [list of files] |
| powerpc | 1.05-2 | 40.3 kB | 184 kB | [list of files] |
| s390 | 1.05-2 | 38.6 kB | 180 kB | [list of files] |
| sparc | 1.05-2 | 37.1 kB | 176 kB | [list of files] |