Martin Kutter > Class-Std-Fast_XS-0.3 > Class::Std::Fast_XS

Download:
Class-Std-Fast_XS-0.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Class::Std::Fast_XS - speed up Class::Std::Fast by adding some XS code

SYNOPSIS ^

 use Class::Std::Fast_XS

DESCRIPTION ^

Speeds up Class::Std::Fast by replacing it's accessors/mutators and DESTROY method by XS variants.

The speed gain varies by platform:

Using perl 5.8.8 on Ubuntu 8.04 (32bit) Linux, the measured speed gain is around 7.5% for accessors (getters) and around 35% for mutators (setters). DESTROY was around 220% faster on this platform.

On a RHEL 5.0 box (64bit) with perl-5.8.8 the speed gain is around 40% for getters and around 60% for setters.

The speed gain on ActivePerl 5.8.8 (822) on Windows XP built with MinGW/MSYS/gcc is around 45%

ActivePerl 5.10 (1001) on Windows XP yielded around 30% for accessors and 50% for mutators.

USAGE ^

All you have to do is to require this module before you load/create Class::Std::Fast- based classes. More precisely, all Class::Std::Fast-based attributes (:ATTR) after loading Class::Std::Fast_XS will be affected.

If you're running a mod_perl environment, you should probably load Class::Std::Fast_XS from your apache config or your startup.pl.

BUGS AND LIMITATIONS ^

ACKNOWLEDGEMENTS ^

Based on Class::XSAccessor and AutoXS by Steffen Müller.

LICENSE AND COPYRIGHT ^

Copyright 2008 Martin Kutter.

This library is free software. You may distribute/modify it under the same terms as perl itself

AUTHOR ^

Martin Kutter <martin.kutter fen-net.de>

REPOSITORY INFORMATION ^

 $Rev: 468 $
 $LastChangedBy: kutterma $
 $Id: Fast_XS.pm 468 2008-05-21 19:29:31Z kutterma $
 $HeadURL: http://svn.hyper-framework.org/Hyper/Class-Std-Fast_XS/trunk/lib/Class/Std/Fast_XS.pm $
syntax highlighting: