FreeBSD.software
Home/devel/p5-accessors-fast

p5-accessors-fast

0.03_1devel

Wrap fastest Class::Accessor::* into pragma

This module was created as an alternative to use fields, and uses Class::Accessor::Fast as a base Creates accessors at compiletime Have own default new method: it creates object as a blessed hash, then locks keys to defined field list, and invoke init. So, recommended usage inside packages, is access by hash keys (it's 3 times faster then accessor). Since keys are locked, you will not suffer from autovivification. Public interface recommended to be documented as accessors. Uses Class::C3

$pkg install p5-accessors-fast
metacpan.org/release/accessors-fast
Origin
devel/p5-accessors-fast
Size
16.8KiB
License
ART10, GPLv1+
Maintainer
anes@anes.su
Dependencies
4 packages
Required by
0 packages

Dependencies (4)