75835d5a60
- While I'm here: - Add LICENSE - Fix *_DEPENDS - Convert to new Perl framework - Support STAGEDIR - Sort PLIST 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 WWW: http://search.cpan.org/dist/accessors-fast/ PR: ports/180310 Submitted by: Anes Mukhametov <anes@anes.su>
15 lines
546 B
Text
15 lines
546 B
Text
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
|
|
|
|
WWW: http://search.cpan.org/dist/accessors-fast/
|